From f3f7bdbf3f81e124596fa1d584c9036fdc315527 Mon Sep 17 00:00:00 2001 From: Mostafa Samir Date: Mon, 4 Apr 2016 00:32:17 +0200 Subject: [PATCH] set client's 'explicitlyDisconnected' flag to true when disconnect is called this is instead of using the 'stopRetrying' flag that would affect the retrying policy of other clients --- services/IPC.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/IPC.js b/services/IPC.js index 91f9aed..083866d 100644 --- a/services/IPC.js +++ b/services/IPC.js @@ -92,7 +92,7 @@ function disconnect(id){ return; } - this.of[id].config.stopRetrying=true; + this.of[id].explicitlyDisconnected=true; this.of[id].off('*'); if(this.of[id].socket){