summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/packages/desktop/src/renderer/app.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/gui/packages/desktop/src/renderer/app.js b/gui/packages/desktop/src/renderer/app.js
index a1427605e3..8c170c1446 100644
--- a/gui/packages/desktop/src/renderer/app.js
+++ b/gui/packages/desktop/src/renderer/app.js
@@ -200,11 +200,9 @@ export default class AppRenderer {
const actions = this._reduxActions;
try {
- await Promise.all([
- this.disconnectTunnel(),
- this._daemonRpc.setAccount(null),
- this._fetchAccountHistory(),
- ]);
+ await this._daemonRpc.setAccount(null);
+ await this._fetchAccountHistory();
+
actions.account.loggedOut();
actions.history.replace('/login');