mmsharing/mmshavailability/src/musavanetworkmodestatus.cpp
branchRCL_3
changeset 31 33a5d2bbf6fc
parent 0 f0cf47e981f9
child 32 73a1feb507fb
--- a/mmsharing/mmshavailability/src/musavanetworkmodestatus.cpp	Thu Jul 15 18:35:08 2010 +0300
+++ b/mmsharing/mmshavailability/src/musavanetworkmodestatus.cpp	Thu Aug 19 09:51:39 2010 +0300
@@ -54,8 +54,11 @@
     iObserver.Reset();
     iObserver.Close();
     iPhone.Close();
-    iTelServer.UnloadPhoneModule( KMmTsyModuleName );
-    iTelServer.Close();
+    if( iTelServer.Handle() )
+    	{
+        iTelServer.UnloadPhoneModule( KMmTsyModuleName );
+        iTelServer.Close();
+    	}
     }