Commits

Yuya Nishihara committed 6be820e

backout: manage connection from CheckThread in C++ layer (fixes #2471)

Because thread-to-thread signal is queued, th.finished signal will arrive
to SummaryPage after th.wait(). At the time, SummaryPage instance may be
half/fully destroyed.

  • Participants
  • Parent commits dfa8de2
  • Branches stable

Comments (0)

Files changed (1)

tortoisehg/hgqt/backout.py

         self.groups.set_visible(True, 'prog')
         self.th.start()
 
+    @pyqtSlot()
     def threadFinished(self):
         self.groups.set_visible(False, 'prog')
         if self.th.canceled: