[release/8.0] Don't shut down event pipe in DLLs on Windows (#92044)
Trying to enable EventSourceSupport in a shared library project on Native AOT currently results in a build failure since this is actively blocked in the targets. But EventSourceSupport/event pipe mostly work, with some issues (#91762). The blocking makes it impossible for anyone to run diagnostics on their shared library. This is a regression from .NET 7, where it was at least possible to get GC ETW events in PerfView on Windows. This changes the blocking to a suppressible warning, and fixes and issue that was causing a shutdown hang.
Showing
想要评论请 注册 或 登录