diff options
author | Florrie <towerofnix@gmail.com> | 2019-09-25 17:43:52 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2019-09-25 17:43:52 -0300 |
commit | 84d0985b40fcf7864dd14d181c74591196c0d415 (patch) | |
tree | 36c87d7b6846608acf55efe723aa1dae70149ab4 | |
parent | 8d55de55298e00b9dc62f368c23e516f9941b5ba (diff) |
Stop players from playing after they're removed!
-rw-r--r-- | ui.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui.js b/ui.js index eafff01..ba7a798 100644 --- a/ui.js +++ b/ui.js @@ -435,6 +435,7 @@ class AppElement extends FocusElement { queuePlayer.removeListener('receivedTimeData', this.handleReceivedTimeData) queuePlayer.removeListener('playing', this.handlePlaying) queuePlayer.removeListener('queue updated', this.handleQueueUpdated) + queuePlayer.stopPlaying() } attachBackendListeners() { |