From e5ebea80b3a3d50fe1d21635a88856d6ade3cf62 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 4 Mar 2015 20:32:06 +0100 Subject: [PATCH] Add qApp.quit atexit handler in tests. This FINALLY fixes the test segfaults on Windows 8. --- qutebrowser/test/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qutebrowser/test/__init__.py b/qutebrowser/test/__init__.py index b1b45b75d..d5d68a09a 100644 --- a/qutebrowser/test/__init__.py +++ b/qutebrowser/test/__init__.py @@ -29,3 +29,4 @@ qApp = QApplication([]) qApp.setApplicationName('qutebrowser') qApp.processEvents() atexit.register(qApp.processEvents) +atexit.register(qApp.quit)