destroy method

void destroy()

Implementation

void destroy() {
  bindingStates.releaseStatesOfProgram(this);

  gl.deleteProgram(program);
  program = null;
}