From 84d0985b40fcf7864dd14d181c74591196c0d415 Mon Sep 17 00:00:00 2001 From: Florrie Date: Wed, 25 Sep 2019 17:43:52 -0300 Subject: Stop players from playing after they're removed! --- ui.js | 1 + 1 file changed, 1 insertion(+) 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() { -- cgit 1.3.0-6-gf8a5