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 707bc09 commit 7f3b1c1Copy full SHA for 7f3b1c1
packages/core/src/v3/timeout/usageTimeoutManager.ts
@@ -17,7 +17,11 @@ export class UsageTimeoutManager implements TimeoutManager {
17
reset(): void {
18
this._abortController = new AbortController();
19
this._abortSignal = undefined;
20
- this._intervalId = undefined;
+
21
+ if (this._intervalId) {
22
+ clearInterval(this._intervalId);
23
+ this._intervalId = undefined;
24
+ }
25
}
26
27
abortAfterTimeout(timeoutInSeconds?: number): AbortController {
0 commit comments