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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user