|
@@ -52,14 +52,14 @@ function _setConfig(store, next, action) {
|
52
|
52
|
// disposed of first.
|
53
|
53
|
// TODO Currently, disposeLib actually does not dispose of lib-jitsi-meet
|
54
|
54
|
// because lib-jitsi-meet does not implement such functionality.
|
55
|
|
- const disposeLIbPromise
|
|
55
|
+ const disposeLibPromise
|
56
|
56
|
= initialized ? dispatch(disposeLib()) : Promise.resolve();
|
57
|
57
|
|
58
|
58
|
// Let the new config into the Redux store (because initLib will read it
|
59
|
59
|
// from there).
|
60
|
60
|
const nextState = next(action);
|
61
|
61
|
|
62
|
|
- disposeLIbPromise.then(dispatch(initLib()));
|
|
62
|
+ disposeLibPromise.then(dispatch(initLib()));
|
63
|
63
|
|
64
|
64
|
return nextState;
|
65
|
65
|
}
|