1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

Steve Borho  committed e9b90c0

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

  • Participants
  • Parent commits 1596ebc
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/backout.py

View file
  • Ignore whitespace
         repo.repositoryChanged.connect(self.repositoryChanged)
         repo.configChanged.connect(self.configChanged)
 
+    @pyqtSlot()
     def repositoryChanged(self):
         self.currentPage().repositoryChanged()
 
+    @pyqtSlot()
     def configChanged(self):
         self.currentPage().configChanged()