diff options
| -rw-r--r-- | lib/sorting_hat.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sorting_hat.js b/lib/sorting_hat.js index 6ab1a09..e4d8d60 100644 --- a/lib/sorting_hat.js +++ b/lib/sorting_hat.js @@ -135,6 +135,8 @@ module.exports = class SortingHat { if (this._mindWave) { this._stopListening(); + this._socketServer.close(); + this._socketServer = null; this._mindWave = null; } else { |