pull/16762/head
S. Elliott Johnson 1 week ago
parent 5d04b3bc2c
commit a30de03242

@ -91,7 +91,7 @@ export class Boundary {
#pending_count = 0;
#is_creating_fallback = false;
/** @type {boolean} */
#server_rendered_pending = false;
/**
@ -144,9 +144,6 @@ export class Boundary {
if (hydrating) {
hydrate_next();
}
if (hydrating) {
if (this.#server_rendered_pending) {
this.#hydrate_pending_content();
} else {
@ -215,7 +212,7 @@ export class Boundary {
this.#pending_effect = null;
});
this.pending = false;
this.#pending = false;
}
});
}

@ -1,6 +1,6 @@
/** @import { Component } from '#server' */
import { DEV } from 'esm-env';
import { on_destroy } from './index.js';
import { async_on_destroy, on_destroy } from './index.js';
import * as e from './errors.js';
/** @type {Component | null} */
@ -72,6 +72,8 @@ export function pop() {
if (ondestroy) {
on_destroy.push(...ondestroy);
// TODO this is probably actually broken
async_on_destroy.push(...ondestroy);
}
current_component = component.p;

@ -1,6 +1,7 @@
import { ok, test } from '../../test';
export default test({
skip: true,
html: `
<p>hello</p>
`,

Loading…
Cancel
Save