call Tile's destroy() after cleaning up our own business
git-svn-id: http://svn.openlayers.org/trunk/openlayers@522 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -27,6 +27,7 @@ OpenLayers.Tile.Image.prototype =
|
|||||||
this.layer.div.removeChild(this.img);
|
this.layer.div.removeChild(this.img);
|
||||||
}
|
}
|
||||||
this.img = null;
|
this.img = null;
|
||||||
|
OpenLayers.Tile.prototype.destroy.apply(this, arguments);
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ OpenLayers.Tile.WFS.prototype =
|
|||||||
for(var i=0; i < this.features.length; i++) {
|
for(var i=0; i < this.features.length; i++) {
|
||||||
this.features[i].destroy();
|
this.features[i].destroy();
|
||||||
}
|
}
|
||||||
|
OpenLayers.Tile.prototype.destroy.apply(this, arguments);
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user