thedjpetersen/subway — Issue #91: Closed Socket Exception 
Author: mhemesath
Created: 2012-03-08 19:08:48+00:00
State: open

I'm seeing this error pop up from time to time. I think it occurs when someone leaves the app by closing the browser window but I"m not sure. I'll post more details as I find them.

net.js:453
if (!this._handle) throw new Error('This socket is closed.');
^
Error: This socket is closed.
at Socket._write (net.js:453:28)
at Socket.write (net.js:446:15)
at Client.send (/opt/node/subway/node_modules/irc/lib/irc.js:598:19)
at /opt/node/subway/node_modules/irc/lib/irc.js:662:18
at Array.forEach (native)
at Client.say (/opt/node/subway/node_modules/irc/lib/irc.js:661:12)
at Socket. (/opt/node/subway/lib/irchandler.js:176:14)
at Socket.$emit (events.js:88:20)
at SocketNamespace.handlePacket (/opt/node/subway/node_modules/socket.io/lib/namespace.js:335:22)
at Manager.onClientMessage (/opt/node/subway/node_modules/socket.io/lib/manager.js:462:38)