commonappservices/alarmserver/ConsoleAlarmAlertServer/Source/ConsoleAlarmAlertSession.cpp
changeset 72 56a7be608841
parent 21 c4cbaa4fb734
equal deleted inserted replaced
71:9352913932ef 72:56a7be608841
    39 CConsoleAlarmAlertSession::~CConsoleAlarmAlertSession()
    39 CConsoleAlarmAlertSession::~CConsoleAlarmAlertSession()
    40 	{
    40 	{
    41 	CancelNotifications();
    41 	CancelNotifications();
    42 	__FLOG_CLOSE;
    42 	__FLOG_CLOSE;
    43 	
    43 	
       
    44 	if(iServer != NULL)
       
    45 	{	
    44 	CConsoleAlarmAlertSession* session = iServer->WaitingSession();
    46 	CConsoleAlarmAlertSession* session = iServer->WaitingSession();
    45 	session = NULL;
    47 	session = NULL;
       
    48 	}
    46 	delete iSoundLEDFlasher;
    49 	delete iSoundLEDFlasher;
    47 	delete iSoundCallbackTimer;
    50 	delete iSoundCallbackTimer;
    48 	delete iConsole;
    51 	delete iConsole;
    49 	}
    52 	}
    50 
    53