diff --git a/src/index.js b/src/index.js index ea24879..5f14fdb 100644 --- a/src/index.js +++ b/src/index.js @@ -97,7 +97,9 @@ function handleAsyncComputedPropetyChanges (vm, key, pluginOptions, Vue) { Vue.set(vm.$data._asyncComputed, key, { exception: null, update: () => { - watcher(getterOnly(vm.$options.asyncComputed[key]).apply(vm)) + if (!vm._isDestroyed){ + watcher(getterOnly(vm.$options.asyncComputed[key]).apply(vm)) + } } }) setAsyncState(vm, key, 'updating')