From df8c3c0d90c69c7b3f1299244ade913baa5ad680 Mon Sep 17 00:00:00 2001 From: Brandon Nozaki Miller Date: Fri, 12 Aug 2016 14:07:03 -0700 Subject: [PATCH] Update disconnect event removal --- services/IPC.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/IPC.js b/services/IPC.js index 7622d61..e182f86 100644 --- a/services/IPC.js +++ b/services/IPC.js @@ -94,7 +94,7 @@ function disconnect(id){ this.of[id].explicitlyDisconnected=true; - this.of[id].off('*'); + this.of[id].off('*','*'); if(this.of[id].socket){ if(this.of[id].socket.destroy){ this.of[id].socket.destroy();