From 3bee2b0171c960e5732c6631b882b01cfe0d29ee Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 8 Feb 2018 23:48:32 +0100 Subject: [PATCH] ipc: typo... --- app/main/ipc/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/ipc/client.js b/app/main/ipc/client.js index 6324591f..fb31abec 100644 --- a/app/main/ipc/client.js +++ b/app/main/ipc/client.js @@ -38,7 +38,7 @@ class Socket extends EventEmitter { this.receive(e.data) } - this.socket.onclose = this.socket.onerror ()=>{ + this.socket.onclose = this.socket.onerror = ()=>{ this.close() }