We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f4a88f commit e809b03Copy full SHA for e809b03
src/core/observer/watcher.js
@@ -216,9 +216,8 @@ export default class Watcher {
216
if (this.active) {
217
// remove self from vm's watcher list
218
// this is a somewhat expensive operation so we skip it
219
- // if the vm is being destroyed or is performing a v-for
220
- // re-render (the watcher list is then filtered by v-for).
221
- if (!this.vm._isBeingDestroyed && !this.vm._vForRemoving) {
+ // if the vm is being destroyed.
+ if (!this.vm._isBeingDestroyed) {
222
remove(this.vm._watchers, this)
223
}
224
let i = this.deps.length
0 commit comments