Cordova: The watch function of Compass may crash after watching for a certain period of time

Description

steps to reproduce:
1. Launch the Cordova
2. Tap on Compass
3. Tap on "getCurrentHeading()" button to fetch the heading data, and then tap on "watchHeading()" button to initiate the continuous watch for the direction and leave it as watching status

**result:
After keep watching for approximately 8 minutes, it seems to crash and stop updating the heading data. Close the app and launch the app again, navigate to the compass page again, tapping on "getCurrentHeading()" button become useless, no any data returned. Unless restart the touchpad, the compass function can restore.
**expected result:
The watching function should be functional all the time unless user clear the watch

Environment

touchpad

Assignee

Markus Leutwyler (Enyo Team)

Reporter

Sharon Tong

Labels

External issue ID

None

Tango Test Run Elements

None

Old Issue Key

None

Components

Sprint

None

Affects versions

Priority

None
Configure