Skip to content

Commit

Permalink
Merge pull request #357 from NicholasBoll/defect/close-listening-app
Browse files Browse the repository at this point in the history
Closing listeningApp when server closes
  • Loading branch information
sokra committed Jan 11, 2016
2 parents cf091e2 + b2f17f5 commit aa7cc8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Server.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ Server.prototype.close = function() {
});
this.sockets = [];
this.middleware.close();
this.listeningApp.close();
}

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

0 comments on commit aa7cc8a

Please sign in to comment.