chore: slightly better comment

pull/16119/head
Paolo Ricciuti 3 months ago committed by GitHub
parent 86d745be66
commit e776ee58e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -689,7 +689,7 @@ export function flushSync(fn) {
if (queued_root_effects.length === 0) { if (queued_root_effects.length === 0) {
// this would be reset in `flush_queued_root_effects` but since we are early returning here, // this would be reset in `flush_queued_root_effects` but since we are early returning here,
// we need to reset it here as well // we need to reset it here as well in case the first time there's 0 queued root effects
is_flushing = false; is_flushing = false;
last_scheduled_effect = null; last_scheduled_effect = null;
if (DEV) { if (DEV) {

Loading…
Cancel
Save