pull/17004/head
Rich Harris 2 weeks ago
parent 4469cc5c2c
commit 7f5f35a890

@ -893,7 +893,9 @@ export function fork(fn) {
// trigger any `$state.eager(...)` expressions with the new state // trigger any `$state.eager(...)` expressions with the new state
flushSync(() => { flushSync(() => {
/** @type {Set<Effect>} */
const inspect_effects = new Set(); const inspect_effects = new Set();
for (const source of batch.current.keys()) { for (const source of batch.current.keys()) {
mark_inspect_effects(source, inspect_effects); mark_inspect_effects(source, inspect_effects);
} }

Loading…
Cancel
Save