Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Nov 28, 2024
1 parent 7501e3c commit 72a9b6f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/reactivity/src/system.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ export enum SubscriberFlags {
ToCheckDirty = 1 << 6,
Dirty = 1 << 7,
Dirtys = SubscriberFlags.ToCheckDirty | SubscriberFlags.Dirty,
All = SubscriberFlags.Tracking |
SubscriberFlags.CanPropagate |
SubscriberFlags.Dirtys,

DirtyFlagsIndex = 6,
}
Expand Down Expand Up @@ -299,7 +296,9 @@ export function checkDirty(deps: Link): boolean {

export function startTrack(sub: Subscriber): void {
sub.depsTail = undefined
sub.flags = (sub.flags & ~SubscriberFlags.All) | SubscriberFlags.Tracking
sub.flags =
(sub.flags & ~(SubscriberFlags.CanPropagate | SubscriberFlags.Dirtys)) |
SubscriberFlags.Tracking
}

export function endTrack(sub: Subscriber): void {
Expand Down

0 comments on commit 72a9b6f

Please sign in to comment.