From 9f1e0e48e319cda07953b1233b00debb4c4109c0 Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Wed, 5 Jul 2023 21:05:33 +0200 Subject: [PATCH] fix: clear interval variable after deleting timer Signed-off-by: Tilman Vatteroth --- commons/src/message-transporters/message-transporter.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/commons/src/message-transporters/message-transporter.ts b/commons/src/message-transporters/message-transporter.ts index cd20d8664..60b759cdf 100644 --- a/commons/src/message-transporters/message-transporter.ts +++ b/commons/src/message-transporters/message-transporter.ts @@ -105,6 +105,7 @@ export class MessageTransporter extends EventEmitter2 { private stopSendingOfReadyRequests() { if (this.readyInterval !== undefined) { clearInterval(this.readyInterval) + this.readyInterval = undefined } }