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) { 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 // 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 * them for later execution as appropriate
* @param {Effect} root * @param {Effect} root
*/ */
#process_root(root) { #traverse_effect_tree(root) {
root.f ^= CLEAN; root.f ^= CLEAN;
var effect = root.first; var effect = root.first;

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

Loading…
Cancel
Save