locationmanager/server/src/clocationmanagersession.cpp
branchRCL_3
changeset 17 50de4d668bb6
parent 1 acef663c1218
child 25 8e4539ab1889
equal deleted inserted replaced
15:3cebc1a84278 17: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" );