B2G/gecko/browser/devtools/webconsole/webconsole.js
/**
   * Destroy the HUD object. Call this method to avoid memory leaks when the Web
   * Console is closed.
   *
   * @param function [aOnDestroy]
   *        Optional function to invoke when the Web Console instance is
   *        destroyed.
   */
Destroy the HUD object. Call this method to avoid memory leaks when the Web
Console is closed.

@param function [aOnDestroy]
Optional function to invoke when the Web Console instance is
destroyed.
Destroy the HUD object . Call this method to avoid memory leaks when the Web Console is closed . @param function [ aOnDestroy ] Optional function to invoke when the Web Console instance is destroyed .
function WCF_destroy(aOnDestroy)
  {
    this._cssNodes = {};
    this._outputQueue = [];
    this._pruneCategoriesQueue = {};
    this._networkRequests = {};
    if (this._outputTimerInitialized) {
      this._outputTimerInitialized = false;
      this._outputTimer.cancel();
    }
    this._outputTimer = null;
    if (this.proxy) {
      this.proxy.disconnect(aOnDestroy);
      this.proxy = null;
    }
    if (this.jsterm) {
      this.jsterm.destroy();
      this.jsterm = null;
    }
    this._commandController = null;
  }
function WCF_destroy ( aOnDestroy ) { this . _cssNodes = { } ; this . _outputQueue = [ ] ; this . _pruneCategoriesQueue = { } ; this . _networkRequests = { } ; if ( this . _outputTimerInitialized ) { this . _outputTimerInitialized = false ; this . _outputTimer . cancel ( ) ; } this . _outputTimer = null ; if ( this . proxy ) { this . proxy . disconnect ( aOnDestroy ) ; this . proxy = null ; } if ( this . jsterm ) { this . jsterm . destroy ( ) ; this . jsterm = null ; } this . _commandController = null ; }
Destroy the HUD object.
Destroy the HUD object .