kerneltest/e32test/resourceman/acctst/d_prmacctst.cpp
changeset 119 6e99f362aa46
parent 0 a41df078684a
--- a/kerneltest/e32test/resourceman/acctst/d_prmacctst.cpp	Fri Apr 16 16:24:37 2010 +0300
+++ b/kerneltest/e32test/resourceman/acctst/d_prmacctst.cpp	Fri Apr 23 21:54:44 2010 +0100
@@ -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 the License "Eclipse Public License v1.0"
@@ -151,11 +151,12 @@
 	TDynamicDfcQue* dfcQ;
 	TInt r = Kern::DynamicDfcQCreate(dfcQ, KTestDfcQuePrority, KTestDfcQueBaseName);
 	TEST_KERRNONE(r);
-	iDfcQ = dfcQ;
 	if (r != KErrNone)
 		{
 		return r;
 		}
+	dfcQ->SetRealtimeState(ERealtimeStateOff);
+	iDfcQ = dfcQ;
 	SetDfcQ(iDfcQ);
 	iMsgQ.Receive();
 	return KErrNone;