diff --git a/lib/OpenLayers/Layer/WFS.js b/lib/OpenLayers/Layer/WFS.js index e6aa8dcc44..a8af580fe2 100644 --- a/lib/OpenLayers/Layer/WFS.js +++ b/lib/OpenLayers/Layer/WFS.js @@ -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,