We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74b7f89 commit bd83eebCopy full SHA for bd83eeb
packages/svelte/src/internal/client/reactivity/async.js
@@ -96,7 +96,7 @@ export function capture(track = true) {
96
97
// prevent the active effect from outstaying its welcome
98
// TODO this feels brittle
99
- queue_micro_task(exit);
+ queue_micro_task(unset_context);
100
};
101
}
102
@@ -119,7 +119,7 @@ export async function save(promise, track = true) {
119
120
121
122
-function exit() {
+function unset_context() {
123
set_active_effect(null);
124
set_active_reaction(null);
125
set_component_context(null);
0 commit comments