mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-12-04 05:56:27 +01:00
Emit stream_closed even if stream is not found
This commit is contained in:
1 parent
c5bc865e6c
commit
3c854ca32b
6 files changed
+10
-9
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user