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 a49858f commit 70b44caCopy full SHA for 70b44ca
packages/reactivity/src/effectScope.ts
@@ -119,9 +119,8 @@ export class EffectScope {
119
if (this._active) {
120
this._active = false
121
let i, l
122
- const effects = this.effects.slice()
123
- for (i = 0, l = effects.length; i < l; i++) {
124
- effects[i].stop()
+ for (i = 0, l = this.effects.length; i < l; i++) {
+ this.effects[i].stop()
125
}
126
this.effects.length = 0
127
0 commit comments