Fix issue #1 on deactivate method.
Fix issue #1 on deactivate method.

neogis-de/OL-DynamicMeasure,marcjansen/OL-DynamicMeasure,marcjansen/OL-DynamicMeasure,neogis-de/OL-DynamicMeasure,jorix/OL-DynamicMeasure