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.
pull/3584/head
Leonard Kim 6 years ago committed by Leonard Kim
parent d6216f21d5
commit 4409bbabb7
  1. 2
      react/features/welcome/components/BlankPage.native.js

@ -29,7 +29,7 @@ class BlankPage extends Component<Props> {
* @inheritdoc
* @returns {void}
*/
componentWillMount() {
componentDidMount() {
this.props.dispatch(destroyLocalTracks());
}

Loading…
Cancel
Save