We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2ea726 commit d3077c4Copy full SHA for d3077c4
lib/http/websocket.js
@@ -88,7 +88,7 @@ Server.prototype.connect = function(request, response) {
88
conn.addListener("message", function(msg) {
89
self.emit("message", msg, conn);
90
});
91
- conn.addListener("disconnect", function() {
+ conn.addListener("close", function() {
92
self.disconnect(conn);
93
94
this.connections.push(conn);
0 commit comments