Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.5.0, 4.1.3
-
None
-
None
-
On my Samsung Galaxy S3, Android 4.4.4, CyanogenMod 11-2014112-snapshot-M12-d2lte
Description
When I start watchAcceleration like this:
var watchId = navigator.accelerometer.watchAcceleration(callBack, handleError, { frequency: 300 });
and then use clearWatch like this:
navigator.accelerometer.clearWatch(watchId);
My callBack function is still being executed at the frequency I supplied. clearWatch doesn't seem to be working