Patch to fix destroy() being called on an undefined object
Patch to fix destroy() being called on an undefined object

https://github.com/heron-mc/heron-mc/issues/399

dracic/openlayers,dracic/openlayers,dracic/openlayers,dracic/openlayers