mirror of https://github.com/icedream/ts3bot.git
Make sure _keepaliveInt is unset in _stopKeepalive.
parent
3948c767e9
commit
264f07cf9b
|
@ -152,6 +152,7 @@ module.exports = class TS3ClientQuery extends EventEmitter
|
|||
_stopKeepalive: () =>
|
||||
if @_keepaliveInt is not undefined
|
||||
clearInterval @_keepaliveInt
|
||||
@_keepaliveInt = undefined
|
||||
|
||||
_resetKeepalive: () =>
|
||||
@_stopKeepalive()
|
||||
|
|
Loading…
Reference in New Issue