mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
mplayer closing is handled in deck close now
This commit is contained in:
parent
7054281bb8
commit
1de1c7c816
1 changed files with 0 additions and 9 deletions
|
@ -188,14 +188,5 @@ def run():
|
||||||
|
|
||||||
app.exec_()
|
app.exec_()
|
||||||
|
|
||||||
if sys.platform.startswith("darwin"):
|
|
||||||
# buggy on osx
|
|
||||||
from anki.sound import stopMplayer
|
|
||||||
stopMplayer()
|
|
||||||
os._exit(0)
|
|
||||||
else:
|
|
||||||
# ensure we kill any other threads
|
|
||||||
sys.exit(0)
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
run()
|
run()
|
||||||
|
|
Loading…
Reference in a new issue