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