gate on non-async mode

incremental-batches
Rich Harris 16 hours ago
parent 2f4b0584fa
commit 9ff512377e

@ -217,7 +217,7 @@ function schedule_possible_effect_self_invalidation(batch, signal, effect) {
var reactions = signal.reactions;
if (reactions === null) return;
if (!async_mode_flag && current_sources !== null && includes.call(current_sources, signal)) {
if (current_sources !== null && includes.call(current_sources, signal)) {
return;
}
@ -304,6 +304,7 @@ export function update_reaction(reaction) {
// ensure that if any of those untracked writes result in re-invalidation
// of the current effect, then that happens accordingly
if (
!async_mode_flag &&
is_runes() &&
untracked_writes !== null &&
!untracking &&

Loading…
Cancel
Save