--- a/stif/TestServer/src/Testserversession.cpp Fri Apr 16 16:37:27 2010 +0300
+++ b/stif/TestServer/src/Testserversession.cpp Mon May 03 13:58:41 2010 +0300
@@ -358,9 +358,8 @@
{
TInt handle = 0;
CObject* theObj = NULL;
- TInt count = iTestExecutionHandle->Count();
-
- for( TInt i = 0 ; i < count; i++ )
+ TInt count = iTestExecutionHandle->Count();
+ for ( TInt i = count - 1; i >= 0; i-- )
{
theObj=iTestExecutionHandle->operator[]( i );
if( theObj )
@@ -374,7 +373,6 @@
delete iTestExecutionHandle;
iTestExecutionHandle = NULL;
-
}
// Deletion must be done here, because the "CloseSession" message is