Don't stop when unmounting
This allows the project to continue playing/retain state while toggling language or player state.
This commit is contained in:
1 parent
0a8d9ab7df
commit
c20c3eebe5
1 file changed
-3
@@ -66,9 +66,6 @@ class GUI extends React.Component {
|
||||
});
|
||||
}
|
||||
}
|
||||
componentWillUnmount () {
|
||||
this.props.vm.stopAll();
|
||||
}
|
||||
render () {
|
||||
if (this.state.loadingError) {
|
||||
throw new Error(
|
||||
|
||||
Reference in new issue
Block a user