~rbdr/sorting-hat

ca4314685b5b77fcd48999bdb08a301767180fd4 — Ben Beltran 7 years ago 4d2c4ed
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 {