Do not use CorHost2::m_fStarted to gate execution (dotnet/coreclr#20953)
authorSteve MacLean <stmaclea@microsoft.com>
Tue, 18 Dec 2018 02:23:20 +0000 (21:23 -0500)
committerGitHub <noreply@github.com>
Tue, 18 Dec 2018 02:23:20 +0000 (21:23 -0500)
commitcb7e1a6f0c0b39cef4a1496d2992b55bd5e08395
treeb64528e2c4420a0d91150f1bdec71b12e77ddb60
parentef07e17cb3147b769ea0755da9bd03a3448a63b5
Do not use CorHost2::m_fStarted to gate execution (dotnet/coreclr#20953)

* ExecuteInDefaultAppDomain w/o Start

Do not require Start() call before
calling ExecuteInDefaultAppDomain()

* Remove unused variable
* Move flags as needed to CorHost2

Commit migrated from https://github.com/dotnet/coreclr/commit/f6d403292c17f7024509c59593bcab05ee9379f1
src/coreclr/src/inc/corhost.h
src/coreclr/src/vm/corhost.cpp
src/coreclr/tests/src/Interop/ExecInDefAppDom/ExecInDefAppDomDll.cpp