supl/locationomasuplprotocolhandler/protocolhandlerver1/src/epos_comasuplprotocolmanager1.cpp
branchRCL_3
changeset 24 9c303455e256
parent 4 42de37ce7ce4
child 27 b88ebe0cbbbe
equal deleted inserted replaced
23:5944cae565c9 24:9c303455e256
   104 	{
   104 	{
   105 	if(iSettingsLauncher)		
   105 	if(iSettingsLauncher)		
   106 		{
   106 		{
   107 			iSettingsLauncher->CancelLaunch();
   107 			iSettingsLauncher->CancelLaunch();
   108 		}
   108 		}
   109 	iSuplSettings->SetUIActive( EFalse );
   109 	
       
   110 	if(iSuplSettings)
       
   111 		{
       
   112 		iSuplSettings->SetUIActive( EFalse );
       
   113 		}
   110 
   114 
   111 	DeleteAllSessions();
   115 	DeleteAllSessions();
   112 	iSuplSessions.Reset();
   116 	iSuplSessions.Reset();
   113 	iSuplSessions.Close();
   117 	iSuplSessions.Close();
   114 
   118 
   115     iTelServer.UnloadPhoneModule(iTsyName);
   119 	//Only attempt to unload the phone if the TSY has actually been initialised
       
   120 	if(iTsyName.Length() > 0)
       
   121 		{
       
   122 		iTelServer.UnloadPhoneModule(iTsyName);
       
   123 		}
   116 
   124 
   117 	
   125 	
   118 	iQueuedPacket.Close();
   126 	iQueuedPacket.Close();
   119 	
   127 	
   120 	delete iTimer;
   128 	delete iTimer;