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 @@ -35,7 +35,7 @@ export interface Link {
3535export const enum SubscriberFlags {
3636 None = 0 ,
3737 Tracking = 1 << 0 ,
38- CanPropagate = 1 << 1 ,
38+ Recursed = 1 << 1 ,
3939 RunInnerEffects = 1 << 2 ,
4040 ToCheckDirty = 1 << 3 ,
4141 Dirty = 1 << 4 ,
@@ -141,8 +141,8 @@ export function propagate(subs: Link): void {
141141 && ( sub . flags = subFlags | targetFlag , true )
142142 )
143143 || (
144- subFlags & SubscriberFlags . CanPropagate
145- && ( sub . flags = ( subFlags & ~ SubscriberFlags . CanPropagate ) | targetFlag , true )
144+ subFlags & SubscriberFlags . Recursed
145+ && ( sub . flags = ( subFlags & ~ SubscriberFlags . Recursed ) | targetFlag , true )
146146 )
147147 ) {
148148 const subSubs = ( sub as Dependency ) . subs ;
@@ -173,7 +173,7 @@ export function propagate(subs: Link): void {
173173 }
174174 } else if ( isValidLink ( link , sub ) ) {
175175 if ( ! ( subFlags >> 2 ) ) {
176- sub . flags = subFlags | targetFlag | SubscriberFlags . CanPropagate ;
176+ sub . flags = subFlags | targetFlag | SubscriberFlags . Recursed ;
177177 const subSubs = ( sub as Dependency ) . subs ;
178178 if ( subSubs !== undefined ) {
179179 if ( subSubs . nextSub !== undefined ) {
You can’t perform that action at this time.
0 commit comments