fix TB opn application exit

This commit is contained in:
Dimitur Kirov 2006-09-19 08:58:14 +00:00
parent cc5719c89d
commit 44e2bd0247
1 changed files with 2 additions and 3 deletions

View File

@ -214,8 +214,7 @@ 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
if self.connection.listener:
self.connection.listener.disconnect()
self.connection = None
# stop calling the timeout