nullify all Grid-specific values. just for good measure

git-svn-id: http://svn.openlayers.org/trunk/openlayers@899 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-07-06 12:29:45 +00:00
parent 774db5dbca
commit 3d52b3e4c5

View File

@@ -44,6 +44,8 @@ OpenLayers.Layer.Grid.prototype =
destroy: function() {
this.clearGrid();
this.grid = null;
this.alpha = null;
this.tileSize = null;
OpenLayers.Layer.HTTPRequest.prototype.destroy.apply(this, arguments);
},