Quit test QApplication properly.
Maybe this fixes the hangs and crashes on the Windows buildbots?
This commit is contained in:
parent
3d5012ccca
commit
543c6cb90b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user