File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed
cli-v3/src/entryPoints/managed Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,11 @@ export class RunExecutionSnapshotPoller {
110110 }
111111
112112 this . enabled = false ;
113- this . poller . stop ( ) ;
113+
114+ const { isExecuting } = this . poller . stop ( ) ;
115+
116+ if ( isExecuting ) {
117+ this . sendDebugLog ( "stopped poller but it's still executing" ) ;
118+ }
114119 }
115120}
Original file line number Diff line number Diff line change @@ -40,13 +40,19 @@ export class IntervalService {
4040 }
4141 }
4242
43- stop ( ) {
43+ stop ( ) : { isExecuting : boolean } {
44+ const returnValue = {
45+ isExecuting : this . _isExecuting ,
46+ } ;
47+
4448 if ( ! this . _isEnabled ) {
45- return ;
49+ return returnValue ;
4650 }
4751
4852 this . _isEnabled = false ;
4953 this . #clearNextInterval( ) ;
54+
55+ return returnValue ;
5056 }
5157
5258 resetCurrentInterval ( ) {
You can’t perform that action at this time.
0 commit comments