Leaflet/Leaflet — pull request #1656 by spamdaemon (2013-05-07 00:31:35+00:00)
Title: Make sure events don't fire after listener is removed.

This fix replaces the action of the event listener structure with a noop
function. This gets rid of a dangling event listener that should not
have been triggered. Could set the action to null and check for null in
the event dispatch loop, but requires extra code in the loop.

The dangling listener occurs when removing a listener by another
listener for the same or different event.