[Trac] [OpenLayers] #369: Thorough Review of OpenLayers Memory Management
OpenLayers
trac at openlayers.org
Mon Oct 23 07:00:28 EDT 2006
#369: Thorough Review of OpenLayers Memory Management
---------------------+------------------------------------------------------
Reporter: euzuro | Owner:
Type: task | Status: new
Priority: major | Milestone:
Component: general | Version:
Keywords: |
---------------------+------------------------------------------------------
Need to sift through the code and make sure all object creation and
deletions are in order, as well as event registerings and unregisterings.
Specifically, for every time a call is made to '''new''', there should be
a corresponding call to the object's '''destroy()'''.
same goes for event.register() and event.unregister()
also we should consider adding a function removeFromMap() that would be
the counter to setMap(), which would be the convenient place to
register/unregister map events.
--
Ticket URL: <http://trac.openlayers.org/ticket/369>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list