Close the socket server on stop
1 files changed, 2 insertions(+), 0 deletions(-) M lib/sorting_hat.js
M lib/sorting_hat.js => lib/sorting_hat.js +2 -0
@@ 135,6 135,8 @@ module.exports = class SortingHat { if (this._mindWave) { this._stopListening(); + this._socketServer.close(); + this._socketServer = null; this._mindWave = null; } else {