code: function() {
  
          this.clear(); 
  
          this.rendererRoot = null;
          this.root = null;
          this.xmlns = null;
  
          OpenLayers.Renderer.prototype.destroy.apply(this, arguments);
      }
docs: Method: destroy