code: function() {
          this.removeBackBuffer();
          this.clearGrid();
  
          this.grid = null;
          this.tileSize = null;
          OpenLayers.Layer.HTTPRequest.prototype.destroy.apply(this, arguments); 
      }
docs: APIMethod: destroy
  Deconstruct the layer and clear the grid.