B2G/gecko/browser/devtools/tilt/TiltVisualizer.jsm
/**
   * Explicitly cleans up this visualizer and sets everything to null.
   */
Explicitly cleans up this visualizer and sets everything to null.
Explicitly cleans up this visualizer and sets everything to null .
function TV_cleanup()
  {
    if (this.controller) {
      TiltUtils.destroyObject(this.controller);
    }
    if (this.presenter) {
      TiltUtils.destroyObject(this.presenter);
    }
    let chromeWindow = this.chromeWindow;
    TiltUtils.destroyObject(this);
    TiltUtils.clearCache();
    TiltUtils.gc(chromeWindow);
  }
function TV_cleanup ( ) { if ( this . controller ) { TiltUtils . destroyObject ( this . controller ) ; } if ( this . presenter ) { TiltUtils . destroyObject ( this . presenter ) ; } let chromeWindow = this . chromeWindow ; TiltUtils . destroyObject ( this ) ; TiltUtils . clearCache ( ) ; TiltUtils . gc ( chromeWindow ) ; }
Explicitly cleans up this visualizer and sets everything to null.
Explicitly cleans up this visualizer and sets everything to null .