locationmanager/server/src/clocationmanagersession.cpp
branchRCL_3
changeset 8 50de4d668bb6
parent 1 acef663c1218
child 12 9f21bab39f42
equal deleted inserted replaced
7:3cebc1a84278 8:50de4d668bb6
    46 // --------------------------------------------------------------------------
    46 // --------------------------------------------------------------------------
    47 //
    47 //
    48 CLocationManagerSession::~CLocationManagerSession()
    48 CLocationManagerSession::~CLocationManagerSession()
    49     {
    49     {
    50     LOG( "CLocationManagerSession::~CLocationManagerSession(), begin" );
    50     LOG( "CLocationManagerSession::~CLocationManagerSession(), begin" );
       
    51     TRAP_IGNORE(Server().StopGPSPositioningL());
    51     Server().CancelNotificationRequest( iNotificationHandle );
    52     Server().CancelNotificationRequest( iNotificationHandle );
    52     Server().CancelLocationRequest( iLocationHandle );
    53     Server().CancelLocationRequest( iLocationHandle );
    53     Server().CancelTrackLogNotificationRequest( iTrackLogNotificationHandle );
    54     Server().CancelTrackLogNotificationRequest( iTrackLogNotificationHandle );
    54     Server().RemoveSession();
    55     Server().RemoveSession();
    55     LOG( "CLocationManagerSession::~CLocationManagerSession(), end" );
    56     LOG( "CLocationManagerSession::~CLocationManagerSession(), end" );