Skip to content

Commit a48b50b

Browse files
committed
Merge pull request #38 from jdreaver/master
Fix segfault when app is garbage collected
2 parents 62b5bdf + db5f7a5 commit a48b50b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pytestqt/plugin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,7 @@ def qapp():
383383
app = QApplication([])
384384
yield app
385385
app.exit()
386+
app.deleteLater()
386387
else:
387388
yield app # pragma: no cover
388389

0 commit comments

Comments
 (0)