[OpenLayers-Trac] [OpenLayers] #1536: Layer.Vector should destroy itself before its parent
OpenLayers
trac at openlayers.org
Sat May 3 07:28:45 EDT 2008
#1536: Layer.Vector should destroy itself before its parent
----------------------+-----------------------------------------------------
Reporter: elemoine | Owner: elemoine
Type: feature | Status: new
Priority: minor | Milestone: 2.7 Release
Component: general | Version: 2.6
Keywords: | State:
----------------------+-----------------------------------------------------
Currently, Layer.Vector.destroy() calls its parent's destroy() method
first and then does the rest of the cleanup. It should do the opposite -
do its own cleanup and then calls its parent's destroy() method, in case
the operations for its own cleanup relies on its parent's properties not
being null. I have a patch attached to ticket #1535 that depends on that
behavior.
--
Ticket URL: <http://trac.openlayers.org/ticket/1536>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list