call sys.exit() after exit from main loop so audio thread dies

This commit is contained in:
Damien Elmes 2009-04-25 01:29:07 +09:00
parent 612eafc64a
commit 840c3549b4

View file

@ -175,5 +175,8 @@ def run():
app.exec_()
# ensure we kill any other threads
sys.exit(0)
if __name__ == "__main__":
run()