[OpenLayers-Trac] Re: [OpenLayers] #2210: Deactivate controls when
destroying
OpenLayers
trac-20090302 at openlayers.org
Thu Oct 14 07:03:57 EDT 2010
#2210: Deactivate controls when destroying
----------------------+-----------------------------------------------------
Reporter: ahocevar | Owner:
Type: bug | Status: new
Priority: minor | Milestone: 2.11 Release
Component: Control | Version: 2.8
Keywords: | State:
----------------------+-----------------------------------------------------
Comment(by ahocevar):
Calling deactivate in destroy causes map destruction to fail badly indeed.
This can recently be seen with r10732, which we had to partially revert.
So until we have a better way to fix this (e.g. by adding a beforedestroy
event to the map - see #2136 - and listening to it), we have a don't-call-
deactivate-in-destroy policy.
--
Ticket URL: <http://trac.openlayers.org/ticket/2210#comment:3>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list