fix: coherent infinite loop guard (#11815)

* fix: coherent infinite loop guard

* chore: add changesets
pull/11823/head
Paolo Ricciuti 6 months ago committed by GitHub
parent 5168dd734e
commit 97e41dc1cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,5 @@
---
"svelte": patch
---
fix: coherent infinite loop guard

@ -573,7 +573,7 @@ function flush_queued_effects(effects) {
function process_deferred() {
is_micro_task_queued = false;
is_yield_task_queued = false;
if (flush_count > 101) {
if (flush_count > 1001) {
return;
}
const previous_queued_root_effects = current_queued_root_effects;

Loading…
Cancel
Save