diff --git a/packages/core/src/Stores/common-store.js b/packages/core/src/Stores/common-store.js index 0ad330441a12..7de96e0f436a 100644 --- a/packages/core/src/Stores/common-store.js +++ b/packages/core/src/Stores/common-store.js @@ -133,8 +133,8 @@ export default class CommonStore extends BaseStore { try { await changeLanguage(key, () => { this.changeCurrentLanguage(key); - this.root_store.client.setIsAuthorize(false); BinarySocket.closeAndOpenNewConnection(key); + this.root_store.client.setIsAuthorize(false); }); resolve(); } catch (e) {