Helpviewer/Sync/SyncManager.py

changeset 1638
cd2f9e526710
parent 1626
a77c8ea8582c
child 1680
28e57079dab5
--- a/Helpviewer/Sync/SyncManager.py	Sat Feb 18 16:20:52 2012 +0100
+++ b/Helpviewer/Sync/SyncManager.py	Sat Feb 18 18:08:54 2012 +0100
@@ -61,6 +61,7 @@
                 if self.__handler is not None:
                     self.__handler.syncError.disconnect(self.__syncError)
                     self.__handler.syncFinished.disconnect(self.__syncFinished)
+                    self.__handler.shutdown()
                 self.__handler = FtpSyncHandler(self)
                 self.__handler.syncError.connect(self.__syncError)
                 self.__handler.syncFinished.connect(self.__syncFinished)
@@ -114,6 +115,7 @@
             if self.__handler is not None:
                 self.__handler.syncError.disconnect(self.__syncError)
                 self.__handler.syncFinished.disconnect(self.__syncFinished)
+                self.__handler.shutdown()
             self.__handler = None
             
             try:

eric ide

mercurial