Commits

Yuya Nishihara committed 2b09605

status: make sure to decouple thread-to-thread signal on destroy (fixes #2535)

I cannot find the actual code path to reproduce #2535. But with this change,
reloadComplete won't be called if StatusWidget has been deleted.

See also 6be820e02303.

Comments (0)

Files changed (1)

tortoisehg/hgqt/status.py

         if synchronous:
             self.reloadComplete()
 
+    @pyqtSlot()
     def reloadComplete(self):
         self.refthread.wait()
         if self.checkable: