From 3948c767e91df5581b5589c7d7e882439f1aa8b7 Mon Sep 17 00:00:00 2001 From: Carl Kittelberger Date: Fri, 8 Apr 2016 19:44:59 +0200 Subject: [PATCH] ts3query: Stop sending keepalives on connection errors. --- ts3query.iced | 1 + 1 file changed, 1 insertion(+) diff --git a/ts3query.iced b/ts3query.iced index 001f2c1..8189d2e 100644 --- a/ts3query.iced +++ b/ts3query.iced @@ -111,6 +111,7 @@ module.exports = class TS3ClientQuery extends EventEmitter @_tcpClient.on "close", () => @emit "close" @_tcpClient.on "error", (err) => @_log.warn "Connection error", err + @_stopKeepalive() @_tcpClient = null @emit "error", err