Ticket #369 (new task)
Thorough Review of OpenLayers Memory Management
| Reported by: | euzuro | Owned by: | euzuro sde |
|---|---|---|---|
| Priority: | major | Milestone: | Maintenance |
| Component: | general | Version: | |
| Keywords: | Cc: | ||
| State: |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.
