Cannot call method _onClose #86

h2non opened this Issue Jul 20, 2014 · 0 comments


None yet
1 participant

h2non commented Jul 20, 2014

When a client close or lost the connection, the next TypeError runtime exception is thrown

TypeError: Cannot call method '_onClose' of undefined
    at WebSocket.<anonymous> (/Users/h2non/projects/peerfile-server/node_modules/binaryjs/lib/client.js:57:28)
    at WebSocket.emit (events.js:117:20)
    at WebSocket.cleanupWebsocketResources (/Users/h2non/projects/peerfile-server/node_modules/binaryjs/node_modules/streamws/lib/WebSocket.js:619:23)
    at Socket.emit (events.js:117:20)
    at _stream_readable.js:929:16
    at process._tickCallback (node.js:419:13)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment