We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fd09e3 commit da24a79Copy full SHA for da24a79
2 files changed
packages/cli-v3/src/entryPoints/managed/poller.ts
@@ -110,6 +110,11 @@ export class RunExecutionSnapshotPoller {
110
}
111
112
this.enabled = false;
113
- this.poller.stop();
+
114
+ const { isExecuting } = this.poller.stop();
115
116
+ if (isExecuting) {
117
+ this.sendDebugLog("stopped poller but it's still executing");
118
+ }
119
120
packages/core/src/v3/utils/interval.ts
@@ -40,13 +40,19 @@ export class IntervalService {
40
41
42
43
- stop() {
+ stop(): { isExecuting: boolean } {
44
+ const returnValue = {
45
+ isExecuting: this._isExecuting,
46
+ };
47
48
if (!this._isEnabled) {
- return;
49
+ return returnValue;
50
51
52
this._isEnabled = false;
53
this.#clearNextInterval();
54
55
56
57
58
resetCurrentInterval() {
0 commit comments