datacommsserver/esockserver/ssock/ss_sap.cpp
branchRCL_3
changeset 48 07656293a99c
parent 9 77effd21b2c9
--- a/datacommsserver/esockserver/ssock/ss_sap.cpp	Wed Jun 09 11:00:38 2010 +0300
+++ b/datacommsserver/esockserver/ssock/ss_sap.cpp	Mon Jun 21 17:02:22 2010 +0300
@@ -227,6 +227,10 @@
 				{
 				SetIdle();
 		    	ProcessDCIdleState();
+		    	if(!IdleSent())
+		    		{
+					LOG( ESockLog::Printf(_L("CNetworkFlow %08x:\tUnbind() - idle not sent"), this) );
+		    		}
 				}
 			}
 		else
@@ -255,6 +259,10 @@
 	if (Idle() && !IdleSent() && !NoBearerGuard())
 #endif
 		{
+		if(Started())
+			{
+			iSubConnectionProvider.PostMessage(Id(), TCFControlProvider::TDataClientGoneDown(KErrConnectionTerminated).CRef());
+			}
 		SetIdleSent();
 		iSubConnectionProvider.PostMessage(Id(), TCFControlProvider::TIdle().CRef());
 		}