Fix shutdown A/V issue when IBC logging with the Music Store app
authorBrian Sullivan <briansul@microsoft.com>
Fri, 7 Apr 2017 00:36:15 +0000 (17:36 -0700)
committerBrian Sullivan <briansul@microsoft.com>
Fri, 7 Apr 2017 00:36:15 +0000 (17:36 -0700)
commitddb2f862fba5c4fb7719d18c51b6df204d10caf2
treec28b2c8faf1aeb9e592bea2715e92375b940d126
parent2cbe396f35ce1d16b6ea7bfa16e2ccbd7b0b6aef
Fix shutdown A/V issue when IBC logging with the Music Store app

This app continues to run managed code on other threads after the Main thread exits and enters shutdown.
We now block IBC logging during the time that we are writing out the IBC data.

Commit migrated from https://github.com/dotnet/coreclr/commit/ded541455690dbd7707ed281388bcaa314c76f9f
src/coreclr/src/vm/ceeload.cpp
src/coreclr/src/vm/ceemain.cpp