Ticket #1107 (closed bug: fixed)
handlers have to check if layer exists before destroying it
| Reported by: | pgiraud | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.6 Release |
| Component: | general | Version: | 2.5 |
| Keywords: | Cc: | ||
| State: |
Description
Handler.Point and Handler.RegularPolygon deal with a layer and in some cases they try to call removeLayer() or destroy() even if it is already destroyed. This happens for example when the map is destroyed.
Handlers should check if layer is destroyed.
In the same way, I also remove the call to removeLayer as the destroy method already do this.
Patch (with tests !) forthcoming.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

