Reverse order of destroying and removeTileMonitoringHooks. Thx for review,

Schuyler! (Closes #976)


git-svn-id: http://svn.openlayers.org/trunk/openlayers@4318 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2007-09-15 15:35:24 +00:00
parent c941651e72
commit cf7544c8e1

View File

@@ -249,8 +249,8 @@ OpenLayers.Layer.WFS = OpenLayers.Class(
} else {
this.clearMarkers();
}
this.tile.destroy();
this.removeTileMonitoringHooks(this.tile);
this.tile.destroy();
this.tile = null;
this.tile = new OpenLayers.Tile.WFS(this, pos, tileBounds,