Commit 44e2bd02 authored by dkirov's avatar dkirov

fix TB opn application exit

parent cc5719c8
......@@ -214,9 +214,8 @@ class ConnectionZeroconf(ConnectionHandlersZeroconf):
self.connected = 0
self.time_to_reconnect = None
if self.connection:
# make sure previous connection is completely closed
self.last_connection = None
self.connection.listener.disconnect()
if self.connection.listener:
self.connection.listener.disconnect()
self.connection = None
# stop calling the timeout
self.call_resolve_timeout = False
......
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