Don't ignore exceptions thrown from handlers of some events (dotnet/coreclr#10502)
authorKoundinya Veluri <kouvel@microsoft.com>
Tue, 28 Mar 2017 05:38:53 +0000 (22:38 -0700)
committerGitHub <noreply@github.com>
Tue, 28 Mar 2017 05:38:53 +0000 (22:38 -0700)
commite5aeb82c0f2b15e039851c3570755f9127c667e8
treec2963223fd0b58eca80cf777d9b1c0a19403c736
parent1849f3f3804b8722367e02f6d01d3b56b04a163a
Don't ignore exceptions thrown from handlers of some events (dotnet/coreclr#10502)

Fixes dotnet/corefxdotnet/coreclr#14747:
- Events include: AssemblyLoadContext.Unloading, AppDomain.ProcessExit
- Made the same change for AppDomain.DomainUnload for consistency, but it's not raised

Commit migrated from https://github.com/dotnet/coreclr/commit/54b2c88f5a8c4623a4a465218a9cef94b92642bf
src/coreclr/src/vm/appdomain.cpp
src/coreclr/src/vm/comdelegate.cpp
src/coreclr/src/vm/comdelegate.h