VCS/StatusMonitorThread.py

changeset 1255
e1d8a8a4d40c
parent 1131
7781e396c903
child 1509
c0b5e693b0eb
--- a/VCS/StatusMonitorThread.py	Tue Aug 30 19:39:52 2011 +0200
+++ b/VCS/StatusMonitorThread.py	Wed Aug 31 18:44:04 2011 +0200
@@ -94,6 +94,7 @@
                 self.monitorCondition.wait(self.monitorMutex, self.interval * 1000)
             self.monitorMutex.unlock()
         
+        self._shutdown()
         self.exit()
     
     def setInterval(self, interval):
@@ -185,3 +186,11 @@
             a status message in case of non successful operation (string)
         """
         raise RuntimeError('Not implemented')
+    
+    def _shutdown(self):
+        """
+        Protected method performing shutdown actions.
+        
+        The default implementation does nothing.
+        """
+        pass

eric ide

mercurial