summaryrefslogtreecommitdiffhomepage
path: root/app/lib/backend.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/lib/backend.js')
-rw-r--r--app/lib/backend.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/lib/backend.js b/app/lib/backend.js
index 48ede8ff62..c8bea1600b 100644
--- a/app/lib/backend.js
+++ b/app/lib/backend.js
@@ -84,7 +84,11 @@ export class Backend {
setLocation(loc: string) {
log.info('Got connection info to backend', loc);
- this._ipc = new RealIpc(loc);
+ if (this._ipc) {
+ this._ipc.setConnectionString(loc);
+ } else {
+ this._ipc = new RealIpc(loc);
+ }
this._registerIpcListeners();
}