rodrigojmlourenco / TrackerProto

Prototype for the TRACE Tracker App
0 stars 0 forks source link

[BUG @ tracker] Unable to stop tracking due to inconsistent service state #7

Open rodrigojmlourenco opened 8 years ago

rodrigojmlourenco commented 8 years ago

Sometimes, the tracking is not stopped as the service considers the tracking to already be stopping. This is caused by the false evaluation of the isFinishing variable that is protected by a synchronized area.

rodrigojmlourenco commented 8 years ago

This BUG was addressed by first analysing the isTracking state variable, and additionally protected it in a synchronized area.

rodrigojmlourenco commented 8 years ago

This bug keeps happening. A new attempt was made by avoidoing closing the databases. This should be safe according to GoogleForum