actually disconnect on quitting

This commit is contained in:
cidoku 2026-02-04 16:36:53 -03:00
parent e2162401e1
commit 1d10293cef

View File

@ -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)