Skip to content

Commit

Permalink
Hacked; expose the stream from the WebSocket client for more flexibil…
Browse files Browse the repository at this point in the history
…ity during

testing.
  • Loading branch information
rauchg committed May 19, 2011
1 parent 4f293ae commit ffb6557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/node-websocket-client/lib/websocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ var WebSocket = function(url, proto, opts) {

// Finish the closing process; destroy the socket and tell the application
// that we've closed.
var finishClose = function() {
var finishClose = self.finishClose = function() {
readyState = CLOSED;

if (stream) {
Expand Down

0 comments on commit ffb6557

Please sign in to comment.