pDomain->GetMulticoreJitManager().AutoStartProfile(pDomain);
#endif
- pDomain->m_pRootAssembly->ExecuteMainMethod(NULL, FALSE /* waitForOtherThreads */);
+ pDomain->m_pRootAssembly->ExecuteMainMethod(NULL, TRUE /* waitForOtherThreads */);
}
pThread->ReturnToContext(&frame);
EE_TRY_FOR_FINALLY(Param *, pParam, ¶m)
{
- pParam->iRetVal = pParam->pAssembly->ExecuteMainMethod(pParam->pStringArgs, TRUE /* waitForOtherThreads */);
+ pParam->iRetVal = pParam->pAssembly->ExecuteMainMethod(pParam->pStringArgs, FALSE /* waitForOtherThreads */);
}
EE_FINALLY
{
// since this is the thread 0 entry point for AppX apps we use
// the EntryPointFilter so that an unhandled exception here will
// trigger the same behavior as in classic apps.
- pParam->pRootAssembly->ExecuteMainMethod(NULL, FALSE /* waitForOtherThreads */);
+ pParam->pRootAssembly->ExecuteMainMethod(NULL, TRUE /* waitForOtherThreads */);
}
PAL_EXCEPT_FILTER(EntryPointFilter)
{