Преглед изворни кода

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.
master
Leonard Kim пре 7 година
родитељ
комит
4409bbabb7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      react/features/welcome/components/BlankPage.native.js

+ 1
- 1
react/features/welcome/components/BlankPage.native.js Прегледај датотеку

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

Loading…
Откажи
Сачувај