fix TB opn application exit
This commit is contained in:
parent
cc5719c89d
commit
44e2bd0247
|
@ -214,9 +214,8 @@ class ConnectionZeroconf(ConnectionHandlersZeroconf):
|
||||||
self.connected = 0
|
self.connected = 0
|
||||||
self.time_to_reconnect = None
|
self.time_to_reconnect = None
|
||||||
if self.connection:
|
if self.connection:
|
||||||
# make sure previous connection is completely closed
|
if self.connection.listener:
|
||||||
self.last_connection = None
|
self.connection.listener.disconnect()
|
||||||
self.connection.listener.disconnect()
|
|
||||||
self.connection = None
|
self.connection = None
|
||||||
# stop calling the timeout
|
# stop calling the timeout
|
||||||
self.call_resolve_timeout = False
|
self.call_resolve_timeout = False
|
||||||
|
|
Loading…
Reference in New Issue