From: Eric S. Raymond Date: Sun, 7 Oct 2012 23:24:38 +0000 (-0400) Subject: Another try at stomping the disconnect bug. X-Git-Tag: 1.9~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d77a6ca72ce52dddbed01d01e72d28a1a1b4d282;p=irker.git Another try at stomping the disconnect bug. --- diff --git a/irkerd b/irkerd index 1fe96a1..2a73835 100755 --- a/irkerd +++ b/irkerd @@ -419,6 +419,7 @@ class Irker: def _handle_disconnect(self, connection, _event): "Server hung up the connection." self.debug(1, "server %s disconnected" % connection.server) + connection.close() if connection.context: connection.context.handle_disconnect() def _handle_kick(self, connection, event):