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");
104104const standardLocalsManager = new StandardLocalsManager ( ) ;
105105localsAPI . setGlobalLocalsManager ( standardLocalsManager ) ;
106106
107- const standardRunTimelineMetricsManager = new StandardRunTimelineMetricsManager ( ) ;
108- runTimelineMetrics . setGlobalManager ( standardRunTimelineMetricsManager ) ;
109-
110107const standardLifecycleHooksManager = new StandardLifecycleHooksManager ( ) ;
111108lifecycleHooks . setGlobalLifecycleHooksManager ( standardLifecycleHooksManager ) ;
112109
110+ const standardRunTimelineMetricsManager = new StandardRunTimelineMetricsManager ( ) ;
111+ runTimelineMetrics . setGlobalManager ( standardRunTimelineMetricsManager ) ;
112+
113113const devUsageManager = new DevUsageManager ( ) ;
114114usage . setGlobalUsageManager ( devUsageManager ) ;
115115timeout . setGlobalManager ( new UsageTimeoutManager ( devUsageManager ) ) ;
Original file line number Diff line number Diff line change @@ -460,10 +460,7 @@ const zodIpc = new ZodIpcConnection({
460460 } ) ;
461461 }
462462 } ,
463- FLUSH : async ( { timeoutInMs } , sender ) => {
464- await flushAll ( timeoutInMs ) ;
465- } ,
466- CANCEL : async ( { timeoutInMs } , sender ) => {
463+ CANCEL : async ( { timeoutInMs } ) => {
467464 _isCancelled = true ;
468465 cancelController . abort ( "run cancelled" ) ;
469466 await callCancelHooks ( timeoutInMs ) ;
@@ -472,6 +469,9 @@ const zodIpc = new ZodIpcConnection({
472469 }
473470 await flushAll ( timeoutInMs ) ;
474471 } ,
472+ FLUSH : async ( { timeoutInMs } ) => {
473+ await flushAll ( timeoutInMs ) ;
474+ } ,
475475 RESOLVE_WAITPOINT : async ( { waitpoint } ) => {
476476 sharedWorkerRuntime . resolveWaitpoints ( [ waitpoint ] ) ;
477477 } ,
You can’t perform that action at this time.
0 commit comments