mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-20 14:52:13 +00:00
reset stream object on destroy
This commit is contained in:
parent
bf3364e046
commit
0dd46973b2
1 changed files with 1 additions and 0 deletions
|
|
@ -105,6 +105,7 @@ function withStreamingServer(Video) {
|
|||
} else {
|
||||
if (args && args.commandName === 'destroy') {
|
||||
destroyed = true;
|
||||
stream = null;
|
||||
events.removeAllListeners();
|
||||
events.on('error', function() { });
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue