mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-05 04:19:55 +00:00
dispatch destroy comman on video unmount
This commit is contained in:
parent
614c5da641
commit
3fa17159bb
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ class Video extends Component {
|
|||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
this.dispatch('stop');
|
||||
this.dispatch('command', 'destroy');
|
||||
}
|
||||
|
||||
selectVideoImplementation = () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue