From fdb255a92f9fa687a50bed05ef918523cf902d8b Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Thu, 9 Jan 2014 15:00:03 -0500 Subject: [PATCH] LP#1268619: websocket: do not disconnect ws() on osrf disconnect message Signed-off-by: Bill Erickson Signed-off-by: Galen Charlton --- src/javascript/opensrf.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/javascript/opensrf.js b/src/javascript/opensrf.js index 813bef8..4d435a1 100644 --- a/src/javascript/opensrf.js +++ b/src/javascript/opensrf.js @@ -305,11 +305,6 @@ OpenSRF.ClientSession.prototype.disconnect = function(args) { this.remote_id = null; this.state = OSRF_APP_SESSION_DISCONNECTED; - - if (this.websocket) { - this.websocket.close(); - delete this.websocket; - } }; -- 2.11.0