apps/system/js/task_manager.js
/**
   * Remove the card representing `app` from the DOM. This only occurs in
   * direct response to stack changes or when the task manager is hidden.
   */
Remove the card representing `app` from the DOM. This only occurs in
direct response to stack changes or when the task manager is hidden.
Remove the card representing ` app ` from the DOM . This only occurs in direct response to stack changes or when the task manager is hidden .
_removeApp(app) {
    var card = this.appToCardMap.get(app);
    if (card) {
      this.appToCardMap.delete(app);
      this.elementToCardMap.delete(card.element);
      this.cardsList.removeChild(card.element);
      app.leaveTaskManager();
    }
  }
_removeApp ( app ) { var card = this . appToCardMap . get ( app ) ; if ( card ) { this . appToCardMap . delete ( app ) ; this . elementToCardMap . delete ( card . element ) ; this . cardsList . removeChild ( card . element ) ; app . leaveTaskManager ( ) ; } }
Remove the card representing `app` from the DOM.
Remove the card representing ` app ` from the DOM .