mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
call sys.exit() after exit from main loop so audio thread dies
This commit is contained in:
parent
612eafc64a
commit
840c3549b4
1 changed files with 3 additions and 0 deletions
|
@ -175,5 +175,8 @@ def run():
|
||||||
|
|
||||||
app.exec_()
|
app.exec_()
|
||||||
|
|
||||||
|
# ensure we kill any other threads
|
||||||
|
sys.exit(0)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
run()
|
run()
|
||||||
|
|
Loading…
Reference in a new issue