Quit test QApplication properly.

Maybe this fixes the hangs and crashes on the Windows buildbots?
This commit is contained in:
Florian Bruhin 2015-02-19 07:46:08 +01:00
parent 3d5012ccca
commit 543c6cb90b

View File

@ -19,8 +19,11 @@
"""The qutebrowser test suite."""
import atexit
from PyQt5.QtWidgets import QApplication
# We create a singleton QApplication here.
qApp = QApplication([])
atexit.register(qApp.quit)