50 LOG( "CLocationManagerSession::~CLocationManagerSession(), begin" ); |
50 LOG( "CLocationManagerSession::~CLocationManagerSession(), begin" ); |
51 // don't call stop GPS positioning from here... |
51 // don't call stop GPS positioning from here... |
52 // we are expecting the application to start and stop else on server terminate, we will do the same. |
52 // we are expecting the application to start and stop else on server terminate, we will do the same. |
53 // this is not okay when user takes a photograph and then transfer photo using BT/PC . |
53 // this is not okay when user takes a photograph and then transfer photo using BT/PC . |
54 // at this point, it will stop the trail for camera where as camera session is still valid. |
54 // at this point, it will stop the trail for camera where as camera session is still valid. |
55 // DON"T CALL StopGPSPositioningL METHOD. |
55 |
56 // TRAP_IGNORE(Server().StopGPSPositioningL()); |
56 |
57 Server().CancelNotificationRequest( iNotificationHandle ); |
57 Server().CancelNotificationRequest( iNotificationHandle ); |
58 Server().CancelLocationRequest( iLocationHandle ); |
58 Server().CancelLocationRequest( iLocationHandle ); |
59 Server().CancelTrackLogNotificationRequest( iTrackLogNotificationHandle ); |
59 Server().CancelTrackLogNotificationRequest( iTrackLogNotificationHandle ); |
60 Server().RemoveSession(); |
60 Server().RemoveSession(); |
61 LOG( "CLocationManagerSession::~CLocationManagerSession(), end" ); |
61 LOG( "CLocationManagerSession::~CLocationManagerSession(), end" ); |