ref(blank-page): destroy local track after mount
To kill componentWillMount, call destroyLocalTrack after mount. Navigation to the blank page was synthetically forced and no UI issues were noticed, possibly because destroyLocalTrack may already be async so destruction may already have been occurring after mount.
This commit is contained in:
parent
d6216f21d5
commit
4409bbabb7
|
@ -29,7 +29,7 @@ class BlankPage extends Component<Props> {
|
|||
* @inheritdoc
|
||||
* @returns {void}
|
||||
*/
|
||||
componentWillMount() {
|
||||
componentDidMount() {
|
||||
this.props.dispatch(destroyLocalTracks());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue