Commits

Steve Borho committed e9b90c0

backout: declare thgrepo signal handlers as slots, to avoid gc races

Comments (0)

Files changed (1)

tortoisehg/hgqt/backout.py

         repo.repositoryChanged.connect(self.repositoryChanged)
         repo.configChanged.connect(self.configChanged)
 
+    @pyqtSlot()
     def repositoryChanged(self):
         self.currentPage().repositoryChanged()
 
+    @pyqtSlot()
     def configChanged(self):
         self.currentPage().configChanged()