Update src/runtime/internal/scheduler.ts

pull/6858/head
Simon H 4 years ago committed by GitHub
parent 5f73064ac7
commit 463038f50d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -75,6 +75,7 @@ export function flush() {
}
} catch (e) {
// reset dirty state to not end up in a deadlocked state and then rethrow
previous_dirty_components.clear();
dirty_components.length = 0;
flushidx = 0;
throw e;

Loading…
Cancel
Save