_appCloseHandler(e) {
    if (e.sender !== this.win.webContents) {
      return;
    }
    this.win.removeListener('close', this._appCloseHandler);
    ContentSearchService.removeService(this);
    if (this.isOpened()) {
      this.searchBar.close();
    }
  }
/**
   * Event handler for the application window close handler.
   * Removes this service from cache, closes search bar (if any)
   * amd removes window listeners.
   * @param {Event} e Event sent from the app window.
   */
Event handler for the application window close handler.
Removes this service from cache, closes search bar (if any)
amd removes window listeners.
@param {Event} e Event sent from the app window.
Event handler for the application window close handler . Removes this service from cache closes search bar ( if any ) amd removes window listeners . @param { Event } e Event sent from the app window .
_appCloseHandler(e) {
    if (e.sender !== this.win.webContents) {
      return;
    }
    this.win.removeListener('close', this._appCloseHandler);
    ContentSearchService.removeService(this);
    if (this.isOpened()) {
      this.searchBar.close();
    }
  }
_appCloseHandler ( e ) { if ( e . sender !== this . win . webContents ) { return ; } this . win . removeListener ( 'close' , this . _appCloseHandler ) ; ContentSearchService . removeService ( this ) ; if ( this . isOpened ( ) ) { this . searchBar . close ( ) ; } }
Event handler for the application window close handler.
Event handler for the application window close handler .