actually disconnect on quitting
This commit is contained in:
parent
e2162401e1
commit
1d10293cef
1
AO2XP.py
1
AO2XP.py
@ -131,6 +131,7 @@ QtCore.qInstallMsgHandler(handler)
|
|||||||
audio.init()
|
audio.init()
|
||||||
game = gamewindow()
|
game = gamewindow()
|
||||||
game.show()
|
game.show()
|
||||||
|
app.aboutToQuit.connect(game.gamewidget.disconnectCommon)
|
||||||
returnc = app.exec_()
|
returnc = app.exec_()
|
||||||
audio.free()
|
audio.free()
|
||||||
sys.exit(returnc)
|
sys.exit(returnc)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user