dist/client/lance-gg.js
/**
       * Close the current socket.
       *
       * @private
       */
Close the current socket.
@private
Close the current socket . @private
_close() {
          debug("disconnect");
          this.skipReconnect = true;
          this._reconnecting = false;
          if ("opening" === this._readyState) {
              this.cleanup();
          }
          this.backoff.reset();
          this._readyState = "closed";
          if (this.engine)
              this.engine.close();
      }
_close ( ) { debug ( "disconnect" ) ; this . skipReconnect = true ; this . _reconnecting = false ; if ( "opening" === this . _readyState ) { this . cleanup ( ) ; } this . backoff . reset ( ) ; this . _readyState = "closed" ; if ( this . engine ) this . engine . close ( ) ; }
Close the current socket.
Close the current socket .
// `onclose` will not fire because // an open event never happened