systemhealthmanagement/systemhealthmgr/test/tsysmon/src/tsysmon_app_donothing.cpp
branchRCL_3
changeset 21 ccb4f6b3db21
parent 0 4e1aa6a622a0
child 22 8cb079868133
--- a/systemhealthmanagement/systemhealthmgr/test/tsysmon/src/tsysmon_app_donothing.cpp	Thu Aug 19 11:09:10 2010 +0300
+++ b/systemhealthmanagement/systemhealthmgr/test/tsysmon/src/tsysmon_app_donothing.cpp	Tue Aug 31 16:29:05 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of "Eclipse Public License v1.0"
@@ -26,12 +26,11 @@
 
 void MainL()
     {
-    RProcess::Rendezvous(KErrNone);
-
     CCommandLineArguments* args = CCommandLineArguments::NewLC();
     CSysMonTestHelper::IncrementRunCountL(args->Arg(0));
     CleanupStack::PopAndDestroy(args);
 	
+    RProcess::Rendezvous(KErrNone);
 	while (ETrue)
 		{
 		User::After(5000000); // 5 seconds