This commit is contained in:
Lyubo Marinov 2017-02-25 18:58:23 -06:00
parent ec95956e25
commit d2b2f98941
1 changed files with 2 additions and 2 deletions

View File

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