mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-03 22:15:03 +02:00
Emit stream_closed even if stream is not found
This commit is contained in:
parent
c5bc865e6c
commit
3c854ca32b
6 changed files with 10 additions and 9 deletions
|
@ -111,7 +111,7 @@ export default {
|
|||
}
|
||||
},
|
||||
streamClosed(streamId) {
|
||||
if (this.stream && this.stream.id === streamId) {
|
||||
if (this.stream && (this.stream.id === streamId || this.stream === 'n/a')) {
|
||||
this.terminateStream()
|
||||
this.$store.commit('clearStreamAudiobook', this.stream.audiobook.id)
|
||||
this.stream = null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue