program.js
function() {
    if( this.gl !== null ){
      this.gl.deleteProgram( this.program );
      this.gl.deleteShader(  this.fShader  );
      this.gl.deleteShader(  this.vShader  );
      this.gl = null;
    }
  }
function() {
    if( this.gl !== null ){
      this.gl.deleteProgram( this.program );
      this.gl.deleteShader(  this.fShader  );
      this.gl.deleteShader(  this.vShader  );
      this.gl = null;
    }
  }
function ( ) { if ( this . gl !== null ) { this . gl . deleteProgram ( this . program ) ; this . gl . deleteShader ( this . fShader ) ; this . gl . deleteShader ( this . vShader ) ; this . gl = null ; } }
Delete program and shaders
Delete program and shaders