B2G/gecko/toolkit/devtools/webconsole/dbg-webconsole-actors.js
/**
   * Destroy the current WebConsoleActor instance.
   */
Destroy the current WebConsoleActor instance.
Destroy the current WebConsoleActor instance .
function WCA_disconnect()
  {
    if (this.pageErrorListener) {
      this.pageErrorListener.destroy();
      this.pageErrorListener = null;
    }
    if (this.consoleAPIListener) {
      this.consoleAPIListener.destroy();
      this.consoleAPIListener = null;
    }
    if (this.networkMonitor) {
      this.networkMonitor.destroy();
      this.networkMonitor = null;
    }
    if (this.consoleProgressListener) {
      this.consoleProgressListener.destroy();
      this.consoleProgressListener = null;
    }
    this.conn.removeActorPool(this._objectActorsPool);
    this.conn.removeActorPool(this._networkEventActorsPool);
    this._objectActorsPool = null;
    this._networkEventActorsPool = null;
    this._sandboxLocation = this.sandbox = null;
    this.conn = this._window = null;
  }
function WCA_disconnect ( ) { if ( this . pageErrorListener ) { this . pageErrorListener . destroy ( ) ; this . pageErrorListener = null ; } if ( this . consoleAPIListener ) { this . consoleAPIListener . destroy ( ) ; this . consoleAPIListener = null ; } if ( this . networkMonitor ) { this . networkMonitor . destroy ( ) ; this . networkMonitor = null ; } if ( this . consoleProgressListener ) { this . consoleProgressListener . destroy ( ) ; this . consoleProgressListener = null ; } this . conn . removeActorPool ( this . _objectActorsPool ) ; this . conn . removeActorPool ( this . _networkEventActorsPool ) ; this . _objectActorsPool = null ; this . _networkEventActorsPool = null ; this . _sandboxLocation = this . sandbox = null ; this . conn = this . _window = null ; }
Destroy the current WebConsoleActor instance.
Destroy the current WebConsoleActor instance .