mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -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:
|
if not mplayerManager:
|
||||||
return
|
return
|
||||||
mplayerManager.kill()
|
mplayerManager.kill()
|
||||||
|
if isWin:
|
||||||
|
cleanupOldMplayerProcesses()
|
||||||
|
|
||||||
addHook("unloadProfile", stopMplayer)
|
addHook("unloadProfile", stopMplayer)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue