From eeca745aaa35c91b87cf08608a9ea730ce3cdff2 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 20 Nov 2021 12:22:35 +0100 Subject: [PATCH] add comment --- src/client/ipc/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/ipc/index.js b/src/client/ipc/index.js index 870d3d5c..f7efa1c8 100644 --- a/src/client/ipc/index.js +++ b/src/client/ipc/index.js @@ -121,6 +121,7 @@ class Ipc extends EventEmitter { clearTimeout(this.disconnectTimeout) this.disconnectTimeout = setTimeout(()=>{ + // delay notification in case reconnection succeeds quickly if (notifications && this.disconnected) notifications.add({ icon: 'wifi', class: 'error',