mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 22:42:25 -04:00
cleanup old mplayer instances in profile unload as well
possible fix for users still having permission errors when renaming profiles
This commit is contained in:
parent
b168ce6eed
commit
b5d4e78b94
1 changed files with 2 additions and 0 deletions
|
@ -298,6 +298,8 @@ def stopMplayer(*args):
|
|||
if not mplayerManager:
|
||||
return
|
||||
mplayerManager.kill()
|
||||
if isWin:
|
||||
cleanupOldMplayerProcesses()
|
||||
|
||||
addHook("unloadProfile", stopMplayer)
|
||||
|
||||
|
|
Loading…
Reference in a new issue