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 7202bc9 commit d1104f6Copy full SHA for d1104f6
packages/svelte/src/internal/client/reactivity/store.js
@@ -171,10 +171,10 @@ export function mark_store_binding() {
171
*/
172
export function capture_marked_store_sub(fn) {
173
var previous_marked_store_sub = marked_store_sub;
174
+
175
try {
176
marked_store_sub = false;
- var value = fn();
177
- return [value, marked_store_sub];
+ return [fn(), marked_store_sub];
178
} finally {
179
marked_store_sub = previous_marked_store_sub;
180
}
0 commit comments