mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-29 14:47:21 +02:00
fix playWhenReady, prevent open stream with closed id
This commit is contained in:
@@ -154,6 +154,7 @@ export default {
|
|||||||
if (value) {
|
if (value) {
|
||||||
this.$server.socket.emit('close_stream')
|
this.$server.socket.emit('close_stream')
|
||||||
this.$store.commit('setStreamAudiobook', null)
|
this.$store.commit('setStreamAudiobook', null)
|
||||||
|
this.$server.stream = null
|
||||||
if (this.$refs.audioPlayerMini) {
|
if (this.$refs.audioPlayerMini) {
|
||||||
this.$refs.audioPlayerMini.terminateStream()
|
this.$refs.audioPlayerMini.terminateStream()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user