Don't close the JIT func info file on shutdown (dotnet/coreclr#18060)
authorKoundinya Veluri <kouvel@users.noreply.github.com>
Mon, 25 Jun 2018 16:41:51 +0000 (09:41 -0700)
committerJan Kotas <jkotas@microsoft.com>
Mon, 25 Jun 2018 16:41:51 +0000 (09:41 -0700)
commit5b23a27479792199586916116c2c08130d9a0a57
treeeef4b99c46936e8ab8981c197133668de831573a
parentab485a0886a71b0815624b6d9a4a292c4046b668
Don't close the JIT func info file on shutdown (dotnet/coreclr#18060)

During shutdown there can be a race between closing/nulling `compJitFuncInfoFile` in `compShutdown` and a background thread trying to write to it after checking that it was not null.

Commit migrated from https://github.com/dotnet/coreclr/commit/df78ae72d5cf3f2c2dbe4ff972732d418497f9bc
src/coreclr/src/jit/compiler.cpp