pull/15844/head
Rich Harris 2 months ago
parent 51215957ef
commit d291a7968d

@ -173,7 +173,7 @@ export class Batch {
}
for (const root of root_effects) {
this.#process_root(root);
this.#traverse_effect_tree(root);
}
// if we didn't start any new async work, and no async work
@ -228,7 +228,7 @@ export class Batch {
* them for later execution as appropriate
* @param {Effect} root
*/
#process_root(root) {
#traverse_effect_tree(root) {
root.f ^= CLEAN;
var effect = root.first;

@ -10,7 +10,6 @@ import {
MAYBE_DIRTY,
STALE_REACTION,
UNOWNED,
DESTROYED,
ASYNC
} from '#client/constants';
import {
@ -27,7 +26,7 @@ import {
import { equals, safe_equals } from './equality.js';
import * as e from '../errors.js';
import * as w from '../warnings.js';
import { async_effect, destroy_effect, render_effect } from './effects.js';
import { async_effect, destroy_effect } from './effects.js';
import { inspect_effects, internal_set, set_inspect_effects, source } from './sources.js';
import { get_stack } from '../dev/tracing.js';
import { tracing_mode_flag } from '../../flags/index.js';

Loading…
Cancel
Save