Fix CPU usage issue with 0-interval timer (fixes #73)

This commit is contained in:
hensm
2019-08-11 14:02:52 +01:00
parent cec5db503f
commit a122047676
3 changed files with 4 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ export default class Session {
private clientConnection?: Channel;
private clientHeartbeat?: Channel;
private clientReceiver?: Channel;
private clientHeartbeatIntervalId?: NodeJS.Timer;
private clientHeartbeatIntervalId?: NodeJS.Timeout;
private isSessionCreated = false;