diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2018-09-05 14:56:19 +0300 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-09-05 14:56:19 +0300 |
| commit | e1e8b371ab146916ee5074102800c197f2232302 (patch) | |
| tree | 30ef7533153cf953aadd5a88e99f420174ef308b | |
| parent | b10ddd73fa078e188ec88084130ef02eaa459dc7 (diff) | |
| parent | 7e3197fecb95dbbc5843a37c66148fe585197e31 (diff) | |
| download | mullvadvpn-e1e8b371ab146916ee5074102800c197f2232302.tar.xz mullvadvpn-e1e8b371ab146916ee5074102800c197f2232302.zip | |
Merge branch 'remove-disconnect-call-on-logout'
| -rw-r--r-- | gui/packages/desktop/src/renderer/app.js | 8 |
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'); |
