Make sure _keepaliveInt is unset in _stopKeepalive.

develop
Icedream 2016-04-09 16:31:40 +02:00
parent 3948c767e9
commit 264f07cf9b
1 changed files with 1 additions and 0 deletions

View File

@ -152,6 +152,7 @@ module.exports = class TS3ClientQuery extends EventEmitter
_stopKeepalive: () =>
if @_keepaliveInt is not undefined
clearInterval @_keepaliveInt
@_keepaliveInt = undefined
_resetKeepalive: () =>
@_stopKeepalive()