diff -r 307788aac0a8 -r 8248b03a2669 realtimenetprots/sipfw/ProfileAgent/Server/Src/SipProfileStateRegInProg.cpp --- a/realtimenetprots/sipfw/ProfileAgent/Server/Src/SipProfileStateRegInProg.cpp Tue Feb 02 01:03:15 2010 +0200 +++ b/realtimenetprots/sipfw/ProfileAgent/Server/Src/SipProfileStateRegInProg.cpp Fri Apr 16 15:18:54 2010 +0300 @@ -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) ) + }