Change-Id: I2ea99c594847214c0f1f27e4c1d6642441c84313
ActivityWalking::~ActivityWalking()
{
- unsubscribe();
+ try {
+ unsubscribe();
+ } catch (...) {
+ _E("Failed to unsubscribe");
+ }
_D("Destroyed");
}
ActivityRunning::~ActivityRunning()
{
- unsubscribe();
+ try {
+ unsubscribe();
+ } catch (...) {
+ _E("Failed to unsubscribe");
+ }
+
_D("Destroyed");
}
ActivityInVehicle::~ActivityInVehicle()
{
- unsubscribe();
+ try {
+ unsubscribe();
+ } catch (...) {
+ _E("Failed to unsubscribe");
+ }
_D("Destroyed");
}