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 e73fed3 commit 692843fCopy full SHA for 692843f
packages/svelte/src/internal/client/dom/blocks/boundary.js
@@ -246,6 +246,8 @@ export class Boundary {
246
var onerror = this.#props.onerror;
247
let failed = this.#props.failed;
248
249
+ active_fork = null;
250
+
251
const reset = () => {
252
this.#pending_count = 0;
253
this.values.clear();
@@ -336,8 +338,8 @@ export class Boundary {
336
338
337
339
fn(active_fork);
340
- active_fork.commit();
- // active_fork = null;
341
+ active_fork?.commit(); // could be nulled out if there was an error
342
343
}
344
345
/**
0 commit comments