diff -r d0529222e3f0 -r bd874ee5e5e2 homescreensrv_plat/sapi_homescreenplugin/tsrc/common/src/mt_hsps.cpp --- a/homescreensrv_plat/sapi_homescreenplugin/tsrc/common/src/mt_hsps.cpp Fri Feb 19 23:07:29 2010 +0200 +++ b/homescreensrv_plat/sapi_homescreenplugin/tsrc/common/src/mt_hsps.cpp Fri Mar 12 15:43:54 2010 +0200 @@ -36,7 +36,7 @@ _LIT8( KHspsAppUid, "appUid" ); // Heap size for test step thread -const TUint KDefaultHeapSize = 0x10000; +const TUint KDefaultHeapSize = 0x100000; // Test step data typedef struct @@ -595,11 +595,12 @@ User::WaitForRequest( status ); err = status.Int(); - testThread.Close(); - // Give test thread some time to close User::After( 2000000 ); - + + // Terminate thread. + testThread.Kill( KErrNone ); + testThread.Close(); } User::LeaveIfError( err );