Skip to content

Commit

Permalink
refactor(core): Remove hybrid mode flag
Browse files Browse the repository at this point in the history
this flag is not used anymore so it's being removed
  • Loading branch information
atscott committed May 7, 2024
1 parent 67bb310 commit 9a0f41f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
10 changes: 0 additions & 10 deletions packages/core/src/change_detection/scheduling/flags.ts

This file was deleted.

Expand Up @@ -25,7 +25,6 @@ import {performanceMarkFeature} from '../../util/performance';
import {NgZone} from '../../zone';
import {InternalNgZoneOptions} from '../../zone/ng_zone';

import {alwaysProvideZonelessScheduler} from './flags';
import {ChangeDetectionScheduler, ZONELESS_SCHEDULER_DISABLED} from './zoneless_scheduling';
import {ChangeDetectionSchedulerImpl} from './zoneless_scheduling_impl';

Expand Down Expand Up @@ -115,9 +114,7 @@ export function internalProvideZoneChangeDetection({
ignoreChangesOutsideZone === true ? {provide: ZONELESS_SCHEDULER_DISABLED, useValue: true} : [],
// TODO(atscott): This should move to the same places that zone change detection is provided by
// default instead of being in the zone scheduling providers.
alwaysProvideZonelessScheduler || ignoreChangesOutsideZone === false
? {provide: ChangeDetectionScheduler, useExisting: ChangeDetectionSchedulerImpl}
: [],
{provide: ChangeDetectionScheduler, useExisting: ChangeDetectionSchedulerImpl},
];
}

Expand Down

0 comments on commit 9a0f41f

Please sign in to comment.