Commit ac5bc7e9 authored by Yann Leboulanger's avatar Yann Leboulanger

fix disconnection of client_zeroconf. Fixes #5049

parent b481b2d3
......@@ -97,8 +97,9 @@ def pollin(self):
P2PClient(sock[0], ipaddr, sock[1][1], self.conn_holder, [], from_jid)
def disconnect(self):
def disconnect(self, message=''):
''' free all resources, we are not listening anymore ''''Disconnecting ZeroconfListener: %s' % message)
self.fd = -1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment