realtimenetprots/sipfw/ProfileAgent/Server/Src/SipProfileStateRegInProg.cpp
branchRCL_3
changeset 9 1e1cc61f56c3
parent 0 307788aac0a8
--- a/realtimenetprots/sipfw/ProfileAgent/Server/Src/SipProfileStateRegInProg.cpp	Fri Feb 19 23:10:33 2010 +0200
+++ b/realtimenetprots/sipfw/ProfileAgent/Server/Src/SipProfileStateRegInProg.cpp	Fri Mar 12 15:44:11 2010 +0200
@@ -228,3 +228,14 @@
 	iPluginDirector.TerminateHandling(aItem.Profile());
 	aItem.HandleNewIapL(aSnapId, aNewIapId, EFalse, *iWaitForPermission);
 	}
+
+// -----------------------------------------------------------------------------
+// CSIPProfileStateRegInProg::ShutdownInitiated
+// Initiate de-registration. PluginDirector never has a pending register in
+// registered state.
+// -----------------------------------------------------------------------------
+//
+void CSIPProfileStateRegInProg::ShutdownInitiated( CSIPProfileCacheItem& aItem )
+	{
+      TRAP_IGNORE( DeregisterWhileRegInProgressL( aItem, *iUnregistered) )
+	}