pull/16197/head
Rich Harris 7 months ago
parent 2b2cdf13c5
commit 710ae6285a

@ -814,8 +814,12 @@ function process_effects(effect, fork) {
async_effects.push(current_effect); async_effects.push(current_effect);
} }
} else if ((flags & BLOCK_EFFECT) !== 0) { } else if ((flags & BLOCK_EFFECT) !== 0) {
if (check_dirtiness(current_effect)) { try {
update_effect(current_effect); if (check_dirtiness(current_effect)) {
update_effect(current_effect);
}
} catch (error) {
handle_error(error, current_effect, null, null);
} }
} else if ((flags & RENDER_EFFECT) !== 0) { } else if ((flags & RENDER_EFFECT) !== 0) {
if (is_branch) { if (is_branch) {

Loading…
Cancel
Save