commsfwsupport/commselements/meshmachine/src/mm_node.cpp
branchRCL_3
changeset 48 07656293a99c
parent 29 9644881fedd0
child 66 cbb19216b74d
equal deleted inserted replaced
37:35c06c1d4fa6 48:07656293a99c
   196 
   196 
   197 	//here we need to cancel all activities originating aClientId (except the current one)
   197 	//here we need to cancel all activities originating aClientId (except the current one)
   198 	__ASSERT_DEBUG(!client->RecipientId().IsNull(), User::Panic(KSpecAssert_ElemMeshMachNodC, 1));
   198 	__ASSERT_DEBUG(!client->RecipientId().IsNull(), User::Panic(KSpecAssert_ElemMeshMachNodC, 1));
   199 	AbortActivitiesOriginatedBy(aContext, client->RecipientId());
   199 	AbortActivitiesOriginatedBy(aContext, client->RecipientId());
   200 
   200 
       
   201     if (aContext.iSender == aClientId)
       
   202         {
       
   203         aContext.iPeer = NULL;
       
   204         }	
   201 	ANodeBase::RemoveClient(foundAt);
   205 	ANodeBase::RemoveClient(foundAt);
   202    	if (aContext.iSender == aClientId)
       
   203    	    {
       
   204    	    aContext.iPeer = NULL;
       
   205    	    }
       
   206 	}
   206 	}
   207 
   207 
   208 EXPORT_C CNodeActivityBase* AMMNodeBase::FindActivityById(TUint aActivityId) const
   208 EXPORT_C CNodeActivityBase* AMMNodeBase::FindActivityById(TUint aActivityId) const
   209 	{
   209 	{
   210 	CNodeActivityBase* a = NULL;
   210 	CNodeActivityBase* a = NULL;