stop() {
    this.logger_.info('Stopping periodic scanning.');
    if (!this.running_) return;
    this.running_ = false;
    if (this.timeoutId_) {
      clearTimeout(this.timeoutId_);
      this.timeoutId_ = null;
    }
    this.pendingRequests_.clear();
  }
/**
   * Stops discovery. Also aborts all outstanding discovery requests.
   */
Stops discovery. Also aborts all outstanding discovery requests.
Stops discovery . Also aborts all outstanding discovery requests .
stop() {
    this.logger_.info('Stopping periodic scanning.');
    if (!this.running_) return;
    this.running_ = false;
    if (this.timeoutId_) {
      clearTimeout(this.timeoutId_);
      this.timeoutId_ = null;
    }
    this.pendingRequests_.clear();
  }
stop ( ) { this . logger_ . info ( 'Stopping periodic scanning.' ) ; if ( ! this . running_ ) return ; this . running_ = false ; if ( this . timeoutId_ ) { clearTimeout ( this . timeoutId_ ) ; this . timeoutId_ = null ; } this . pendingRequests_ . clear ( ) ; }
Stops discovery.
Stops discovery .