commonappservices/alarmserver/ConsoleAlarmAlertServer/Source/ConsoleAlarmAlertSession.cpp
changeset 76 f5642d05cce0
parent 21 c4cbaa4fb734
--- a/commonappservices/alarmserver/ConsoleAlarmAlertServer/Source/ConsoleAlarmAlertSession.cpp	Fri Sep 17 08:30:44 2010 +0300
+++ b/commonappservices/alarmserver/ConsoleAlarmAlertServer/Source/ConsoleAlarmAlertSession.cpp	Mon Oct 04 00:28:21 2010 +0300
@@ -41,8 +41,11 @@
 	CancelNotifications();
 	__FLOG_CLOSE;
 	
+	if(iServer != NULL)
+	{	
 	CConsoleAlarmAlertSession* session = iServer->WaitingSession();
 	session = NULL;
+	}
 	delete iSoundLEDFlasher;
 	delete iSoundCallbackTimer;
 	delete iConsole;