mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-07-24 12:45:18 +02:00
fix playWhenReady, prevent open stream with closed id
This commit is contained in:
parent
ebf628315c
commit
37fea5c772
1 changed files with 1 additions and 0 deletions
|
@ -154,6 +154,7 @@ export default {
|
|||
if (value) {
|
||||
this.$server.socket.emit('close_stream')
|
||||
this.$store.commit('setStreamAudiobook', null)
|
||||
this.$server.stream = null
|
||||
if (this.$refs.audioPlayerMini) {
|
||||
this.$refs.audioPlayerMini.terminateStream()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue