mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-24 10:46:30 -05:00
fix: clear interval variable after deleting timer
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
ad04bb78a2
commit
9f1e0e48e3
1 changed files with 1 additions and 0 deletions
|
@ -105,6 +105,7 @@ export class MessageTransporter extends EventEmitter2<MessageEventPayloadMap> {
|
||||||
private stopSendingOfReadyRequests() {
|
private stopSendingOfReadyRequests() {
|
||||||
if (this.readyInterval !== undefined) {
|
if (this.readyInterval !== undefined) {
|
||||||
clearInterval(this.readyInterval)
|
clearInterval(this.readyInterval)
|
||||||
|
this.readyInterval = undefined
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue