phonebookengines/contactsmodel/cntsrv/src/CCntStateMachine.cpp
branchRCL_3
changeset 6 e8e3147d53eb
parent 0 e686773b3f54
child 13 a6539d1e8e43
--- a/phonebookengines/contactsmodel/cntsrv/src/CCntStateMachine.cpp	Fri Mar 12 15:41:25 2010 +0200
+++ b/phonebookengines/contactsmodel/cntsrv/src/CCntStateMachine.cpp	Mon Mar 15 12:39:26 2010 +0200
@@ -72,6 +72,7 @@
 void CState::TransactionStartLC(TUint aSessionId)
 	{
 	iCurrentTransactionSessionId = aSessionId;
+	iPersistenceLayer.FactoryL().GetCollectorL().Reset();
 	iPersistenceLayer.TransactionManager().StartTransactionL();
 	CleanupStack::PushL(TCleanupItem(CState::CleanupTransactionRollback, this));
 	}
@@ -1682,6 +1683,7 @@
 	if (iSessionId == 0)
 		{
 		iSessionId = aRequest->SessionId();
+		iPersistenceLayer.FactoryL().GetCollectorL().Reset();
 		iPersistenceLayer.TransactionManager().StartTransactionL();
 		iTimeOut->Start();
 		aRequest->Complete();