mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-07-28 14:44:30 +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) {
|
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()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue