B2G/gecko/browser/components/downloads/content/indicator.js
/**
   * Frees the internal resources related to the indicator.
   */
Frees the internal resources related to the indicator.
Frees the internal resources related to the indicator .
function DIV_ensureTerminated()
  {
    if (!this._initialized) {
      return;
    }
    this._initialized = false;
    window.removeEventListener("unload", this.onWindowUnload, false);
    DownloadsCommon.indicatorData.removeView(this);
    this.counter = "";
    this.percentComplete = 0;
    this.paused = false;
    this.attention = false;
  }
function DIV_ensureTerminated ( ) { if ( ! this . _initialized ) { return ; } this . _initialized = false ; window . removeEventListener ( "unload" , this . onWindowUnload , false ) ; DownloadsCommon . indicatorData . removeView ( this ) ; this . counter = "" ; this . percentComplete = 0 ; this . paused = false ; this . attention = false ; }
Frees the internal resources related to the indicator.
Frees the internal resources related to the indicator .
// Reset the view properties, so that a neutral indicator is displayed if we // are visible only temporarily as an anchor.