kerneltest/e32test/thread/t_thread.cpp
changeset 102 ef2a444a7410
parent 0 a41df078684a
child 257 3e88ff8f41d5
child 269 d57b86b1867a
--- a/kerneltest/e32test/thread/t_thread.cpp	Fri Apr 16 16:24:37 2010 +0300
+++ b/kerneltest/e32test/thread/t_thread.cpp	Mon May 03 13:47:38 2010 +0300
@@ -601,7 +601,8 @@
 		test(thread.ExitCategory()==_L("panic"));
 		test(thread.ExitReason()==123);
 		test(thread.ExitType()==EExitPanic);
-		CLOSE_AND_WAIT(thread);
+		r = RTest::CloseHandleAndWaitForDestruction(thread);
+		test_KErrNone(r);
 		}
 	
 	test.Next(_L("Internal exit"));