Only propagate a MediaStopEvent when the awaited player actually stops
This commit is contained in:
parent
05abc86b90
commit
9506813dc2
2 changed files with 0 additions and 3 deletions
|
@ -179,8 +179,6 @@ class MediaMplayerPlugin(MediaPlugin):
|
|||
except: pass
|
||||
self._mplayer = None
|
||||
|
||||
bus.post(MediaStopEvent())
|
||||
|
||||
if not wait_for_response:
|
||||
return
|
||||
|
||||
|
|
|
@ -175,7 +175,6 @@ class MediaWebtorrentPlugin(MediaPlugin):
|
|||
self._webtorrent_process.wait()
|
||||
try: self._webtorrent_process.kill()
|
||||
except: pass
|
||||
bus.post(MediaStopEvent())
|
||||
|
||||
self._webtorrent_process = None
|
||||
|
||||
|
|
Loading…
Reference in a new issue