File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -192,6 +192,8 @@ export function updateDirtyFlag(
192
192
if ( checkDirty ( sub . deps ! ) ) {
193
193
sub . flags = flags | SubscriberFlags . Dirty
194
194
return true
195
+ } else if ( sub . flags & SubscriberFlags . Dirty ) {
196
+ return true
195
197
} else {
196
198
sub . flags = flags & ~ SubscriberFlags . PendingComputed
197
199
return false
@@ -202,7 +204,11 @@ export function processComputedUpdate(
202
204
computed : Computed ,
203
205
flags : SubscriberFlags ,
204
206
) : void {
205
- if ( flags & SubscriberFlags . Dirty || checkDirty ( computed . deps ! ) ) {
207
+ if (
208
+ flags & SubscriberFlags . Dirty ||
209
+ checkDirty ( computed . deps ! ) ||
210
+ computed . flags & SubscriberFlags . Dirty
211
+ ) {
206
212
if ( computed . update ( ) ) {
207
213
const subs = computed . subs
208
214
if ( subs !== undefined ) {
You can’t perform that action at this time.
0 commit comments