Skip to content

Commit aa7cc8a

Browse files
committed
Merge pull request #357 from NicholasBoll/defect/close-listening-app
Closing listeningApp when server closes
2 parents cf091e2 + b2f17f5 commit aa7cc8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Server.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,7 @@ Server.prototype.close = function() {
339339
});
340340
this.sockets = [];
341341
this.middleware.close();
342+
this.listeningApp.close();
342343
}
343344

344345
Server.prototype.sockWrite = function(sockets, type, data) {

0 commit comments

Comments
 (0)