Dereference the map 'editLayer' when edit session ends to avoid zombie event callbacks from firing on the layer.