fix for #799 - markers destroy no longer nullifies a global variable

git-svn-id: http://svn.openlayers.org/trunk/openlayers@3578 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2007-07-03 23:35:57 +00:00
parent dd066240c7
commit aea4747f89

View File

@@ -55,7 +55,7 @@ OpenLayers.Layer.Markers.prototype =
*/
destroy: function() {
this.clearMarkers();
markers = null;
this.markers = null;
OpenLayers.Layer.prototype.destroy.apply(this, arguments);
},