Fix Thread::SetProfilerFilterContext usage (#52607)
authorMike McLaughlin <mikem@microsoft.com>
Tue, 11 May 2021 21:37:55 +0000 (14:37 -0700)
committerGitHub <noreply@github.com>
Tue, 11 May 2021 21:37:55 +0000 (14:37 -0700)
commitacdc536b64847b11ee060f8f85c3debd364ef32d
tree67a99a8ea13a5b03d18c69a9430ec6f7f198aae1
parentb306268b614145908061b14dd24d860dcf3bd6b9
Fix Thread::SetProfilerFilterContext usage (#52607)

Add holder to catch exceptions and clear context.

Issue: https://github.com/dotnet/runtime/issues/47895
src/coreclr/debug/daccess/dacimpl.h