File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
packages/cli-v3/src/entryPoints Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -104,12 +104,12 @@ const heartbeatIntervalMs = getEnvVar("HEARTBEAT_INTERVAL_MS");
104
104
const standardLocalsManager = new StandardLocalsManager ( ) ;
105
105
localsAPI . setGlobalLocalsManager ( standardLocalsManager ) ;
106
106
107
- const standardRunTimelineMetricsManager = new StandardRunTimelineMetricsManager ( ) ;
108
- runTimelineMetrics . setGlobalManager ( standardRunTimelineMetricsManager ) ;
109
-
110
107
const standardLifecycleHooksManager = new StandardLifecycleHooksManager ( ) ;
111
108
lifecycleHooks . setGlobalLifecycleHooksManager ( standardLifecycleHooksManager ) ;
112
109
110
+ const standardRunTimelineMetricsManager = new StandardRunTimelineMetricsManager ( ) ;
111
+ runTimelineMetrics . setGlobalManager ( standardRunTimelineMetricsManager ) ;
112
+
113
113
const devUsageManager = new DevUsageManager ( ) ;
114
114
usage . setGlobalUsageManager ( devUsageManager ) ;
115
115
timeout . setGlobalManager ( new UsageTimeoutManager ( devUsageManager ) ) ;
Original file line number Diff line number Diff line change @@ -460,10 +460,7 @@ const zodIpc = new ZodIpcConnection({
460
460
} ) ;
461
461
}
462
462
} ,
463
- FLUSH : async ( { timeoutInMs } , sender ) => {
464
- await flushAll ( timeoutInMs ) ;
465
- } ,
466
- CANCEL : async ( { timeoutInMs } , sender ) => {
463
+ CANCEL : async ( { timeoutInMs } ) => {
467
464
_isCancelled = true ;
468
465
cancelController . abort ( "run cancelled" ) ;
469
466
await callCancelHooks ( timeoutInMs ) ;
@@ -472,6 +469,9 @@ const zodIpc = new ZodIpcConnection({
472
469
}
473
470
await flushAll ( timeoutInMs ) ;
474
471
} ,
472
+ FLUSH : async ( { timeoutInMs } ) => {
473
+ await flushAll ( timeoutInMs ) ;
474
+ } ,
475
475
RESOLVE_WAITPOINT : async ( { waitpoint } ) => {
476
476
sharedWorkerRuntime . resolveWaitpoints ( [ waitpoint ] ) ;
477
477
} ,
You can’t perform that action at this time.
0 commit comments