partial fix

async-changeset
Rich Harris 7 months ago
parent e73fed368e
commit 692843fa88

@ -246,6 +246,8 @@ export class Boundary {
var onerror = this.#props.onerror; var onerror = this.#props.onerror;
let failed = this.#props.failed; let failed = this.#props.failed;
active_fork = null;
const reset = () => { const reset = () => {
this.#pending_count = 0; this.#pending_count = 0;
this.values.clear(); this.values.clear();
@ -336,8 +338,8 @@ export class Boundary {
fn(active_fork); fn(active_fork);
active_fork.commit(); active_fork?.commit(); // could be nulled out if there was an error
// active_fork = null; active_fork = null;
} }
/** /**

Loading…
Cancel
Save