B2G/gecko/browser/devtools/debugger/debugger-controller.js
/**
   * Destroys the debugger view, disconnects the debugger client and cleans up
   * any active listeners.
   */
Destroys the debugger view, disconnects the debugger client and cleans up
any active listeners.
Destroys the debugger view disconnects the debugger client and cleans up any active listeners .
function DC__shutdownDebugger() {
    if (this._isDestroyed) {
      return;
    }
    this._isDestroyed = true;
    window.removeEventListener("unload", this._shutdownDebugger, true);
    DebuggerView.GlobalSearch.destroy();
    DebuggerView.Scripts.destroy();
    DebuggerView.StackFrames.destroy();
    DebuggerView.Breakpoints.destroy();
    DebuggerView.Properties.destroy();
    DebuggerView.destroyPanes();
    DebuggerView.destroyEditor();
    DebuggerController.SourceScripts.disconnect();
    DebuggerController.StackFrames.disconnect();
    DebuggerController.ThreadState.disconnect();
    this.dispatchEvent("Debugger:Unloaded");
    this._disconnect();
    this._isChromeDebugger && this._quitApp();
  }
function DC__shutdownDebugger ( ) { if ( this . _isDestroyed ) { return ; } this . _isDestroyed = true ; window . removeEventListener ( "unload" , this . _shutdownDebugger , true ) ; DebuggerView . GlobalSearch . destroy ( ) ; DebuggerView . Scripts . destroy ( ) ; DebuggerView . StackFrames . destroy ( ) ; DebuggerView . Breakpoints . destroy ( ) ; DebuggerView . Properties . destroy ( ) ; DebuggerView . destroyPanes ( ) ; DebuggerView . destroyEditor ( ) ; DebuggerController . SourceScripts . disconnect ( ) ; DebuggerController . StackFrames . disconnect ( ) ; DebuggerController . ThreadState . disconnect ( ) ; this . dispatchEvent ( "Debugger:Unloaded" ) ; this . _disconnect ( ) ; this . _isChromeDebugger && this . _quitApp ( ) ; }
Destroys the debugger view, disconnects the debugger client and cleans up
 any active listeners.
Destroys the debugger view disconnects the debugger client and cleans up any active listeners .