Add qApp.quit atexit handler in tests.

This FINALLY fixes the test segfaults on Windows 8.
This commit is contained in:
Florian Bruhin 2015-03-04 20:32:06 +01:00
parent be6ea2f0e8
commit e5ebea80b3

View File

@ -29,3 +29,4 @@ qApp = QApplication([])
qApp.setApplicationName('qutebrowser')
qApp.processEvents()
atexit.register(qApp.processEvents)
atexit.register(qApp.quit)