Permalink
Browse files

before disconnect from SP, send msgs in queue.

  • Loading branch information...
1 parent 70d3b67 commit 4e94b4a02d3641716726ff531830897f573779cd @kaven276 committed Jun 4, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/nodes/nodeSP.js
View
@@ -81,6 +81,7 @@ SP.prototype.connect = function(){
SP.prototype.disconnect = function(){
if (!this.linkStatus) return;
+ this.dumpQueue();
this.socket.end(new Unbind());
this.linkStatus = false;
}

0 comments on commit 4e94b4a

Please sign in to comment.