diff --git a/ts3query.iced b/ts3query.iced index 56e1da6..001f2c1 100644 --- a/ts3query.iced +++ b/ts3query.iced @@ -157,6 +157,7 @@ module.exports = class TS3ClientQuery extends EventEmitter @_keepaliveInt = setInterval @_sendKeepalive, 60000 close: (cb) => + @_stopKeepalive() if not @_tcpClient cb?() return