Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9.1, 1.9.2, and 1.9.3

commit: connect DetailDialog's finished signal to deleteLater

This is our standard 'waving a dead chicken' solution to hard-crashes
in the garbage collector. I regularly see crashes after using the QNew
feature.

Changeset 5c67c38b4084

Parent 940dd10d7e87

by Steve Borho

Changes to one file · Browse files at 5c67c38b4084 Showing diff from parent 940dd10d7e87 Diff from another changeset...

 
205
206
207
 
208
209
210
 
205
206
207
208
209
210
211
@@ -205,6 +205,7 @@
    def details(self):   dlg = DetailsDialog(self.opts, self.userhist, self) + dlg.finished.connect(dlg.deleteLater)   dlg.setWindowFlags(Qt.Sheet)   dlg.setWindowModality(Qt.WindowModal)   if dlg.exec_() == QDialog.Accepted: