B2G/gecko/browser/devtools/tilt/TiltVisualizer.jsm
/**
   * Function called when this object is destroyed.
   */
Function called when this object is destroyed.
Function called when this object is destroyed .
function TVP__finalize()
  {
    TiltUtils.destroyObject(this._visualizationProgram);
    TiltUtils.destroyObject(this._texture);
    if (this._meshStacks) {
      this._meshStacks.forEach(function(group) {
        TiltUtils.destroyObject(group.vertices);
        TiltUtils.destroyObject(group.texCoord);
        TiltUtils.destroyObject(group.color);
        TiltUtils.destroyObject(group.indices);
      });
    }
    if (this._meshWireframe) {
      this._meshWireframe.forEach(function(group) {
        TiltUtils.destroyObject(group.indices);
      });
    }
    TiltUtils.destroyObject(this._renderer);
    this.contentWindow.removeEventListener("resize", this._onResize, false);
  }
function TVP__finalize ( ) { TiltUtils . destroyObject ( this . _visualizationProgram ) ; TiltUtils . destroyObject ( this . _texture ) ; if ( this . _meshStacks ) { this . _meshStacks . forEach ( function ( group ) { TiltUtils . destroyObject ( group . vertices ) ; TiltUtils . destroyObject ( group . texCoord ) ; TiltUtils . destroyObject ( group . color ) ; TiltUtils . destroyObject ( group . indices ) ; } ) ; } if ( this . _meshWireframe ) { this . _meshWireframe . forEach ( function ( group ) { TiltUtils . destroyObject ( group . indices ) ; } ) ; } TiltUtils . destroyObject ( this . _renderer ) ; this . contentWindow . removeEventListener ( "resize" , this . _onResize , false ) ; }
Function called when this object is destroyed.
Function called when this object is destroyed .