B2G/gecko/browser/components/downloads/src/DownloadsCommon.jsm
/**
   * Stops receiving events for current downloads and cancels any pending read.
   */
Stops receiving events for current downloads and cancels any pending read.
Stops receiving events for current downloads and cancels any pending read .
function DD_terminateDataLink()
  {
    this._terminateDataAccess();
    Services.obs.removeObserver(this, "download-manager-database-type-changed");
    Services.obs.removeObserver(this, "download-manager-remove-download");
    Services.downloads.removeListener(this);
  }
function DD_terminateDataLink ( ) { this . _terminateDataAccess ( ) ; Services . obs . removeObserver ( this , "download-manager-database-type-changed" ) ; Services . obs . removeObserver ( this , "download-manager-remove-download" ) ; Services . downloads . removeListener ( this ) ; }
Stops receiving events for current downloads and cancels any pending read.
Stops receiving events for current downloads and cancels any pending read .
// Stop receiving real-time events.