summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gui/src/renderer/app.tsx6
1 files changed, 6 insertions, 0 deletions
diff --git a/gui/src/renderer/app.tsx b/gui/src/renderer/app.tsx
index a1f5560ce5..094b4f376d 100644
--- a/gui/src/renderer/app.tsx
+++ b/gui/src/renderer/app.tsx
@@ -358,6 +358,12 @@ export default class AppRenderer {
}
private async onDaemonConnected() {
+ // Filter out the calls coming from IPC events arriving right after the constructor finished
+ // execution.
+ if (this.connectedToDaemon) {
+ return;
+ }
+
this.connectedToDaemon = true;
if (this.settings.accountToken) {