From cf7544c8e1a3afae1b2edd315fdb9e47875e95a2 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Sat, 15 Sep 2007 15:35:24 +0000 Subject: [PATCH] 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 --- lib/OpenLayers/Layer/WFS.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,