diff options
Diffstat (limited to 'sources/pyside6/tests/QtCore/bug_953.py')
-rw-r--r-- | sources/pyside6/tests/QtCore/bug_953.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/pyside6/tests/QtCore/bug_953.py b/sources/pyside6/tests/QtCore/bug_953.py index 25f2819e0..39f27cfe0 100644 --- a/sources/pyside6/tests/QtCore/bug_953.py +++ b/sources/pyside6/tests/QtCore/bug_953.py @@ -47,9 +47,10 @@ class Dispatcher(QObject): QTimer.singleShot(0, self._finish) def _finish(self): - del self._me # It can't crash here! + del self._me # It can't crash here! QTimer.singleShot(10, QCoreApplication.instance().quit) + if __name__ == '__main__': app = QCoreApplication([]) Dispatcher() |