cleanup mpv on exit
This commit is contained in:
parent
9fb5a3257c
commit
70c584671d
@ -135,6 +135,7 @@ def setupMPV():
|
||||
mpvManager = MpvManager()
|
||||
_player = mpvManager.queueFile
|
||||
_queueEraser = mpvManager.clearQueue
|
||||
atexit.register(cleanupMPV)
|
||||
|
||||
def cleanupMPV():
|
||||
global mpvManager, _player, _queueEraser
|
||||
|
Loading…
Reference in New Issue
Block a user