File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ function resetSchedulerState () {
33
33
// else, we only remove watchers we ran
34
34
} else {
35
35
queue . splice ( 0 , index )
36
- activatedChildren . splice ( 0 , index )
37
36
index = 0
37
+ activatedChildren . length = 0
38
38
}
39
39
has = { }
40
40
if (process.env.NODE_ENV !== 'production') {
@@ -120,7 +120,7 @@ function flushSchedulerQueue (maxUpdateCount?: number) {
120
120
resetSchedulerState ( )
121
121
122
122
// call component updated and activated hooks
123
- callActivatedHooks ( activatedQueue , endIndex )
123
+ callActivatedHooks ( activatedQueue )
124
124
callUpdatedHooks ( updatedQueue , endIndex )
125
125
126
126
// devtool hook
@@ -163,8 +163,8 @@ export function queueActivatedComponent (vm: Component) {
163
163
activatedChildren . push ( vm )
164
164
}
165
165
166
- function callActivatedHooks (queue, endIndex ) {
167
- for ( let i = 0 ; i < endIndex ; i ++ ) {
166
+ function callActivatedHooks (queue) {
167
+ for ( let i = 0 ; i < queue . length ; i ++ ) {
168
168
queue [ i ] . _inactive = true
169
169
activateChildComponent ( queue [ i ] , true /* true */ )
170
170
}
You can’t perform that action at this time.
0 commit comments