Skip to content
Snippets Groups Projects
Commit 44e2bd02 authored by dkirov's avatar dkirov
Browse files

fix TB opn application exit

parent cc5719c8
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment