Sometimes a process terminates abnormally due to a signal generated during coreclr_sh...
authorWoongsuk Cho <ws77.cho@samsung.com>
Tue, 4 Dec 2018 06:56:46 +0000 (15:56 +0900)
committer조웅석/Tizen Platform Lab(SR)/Staff Engineer/삼성전자 <ws77.cho@samsung.com>
Thu, 6 Dec 2018 22:41:27 +0000 (07:41 +0900)
commit0727ca64ea80a2ca5588c849c4ed164649173cb3
tree48594f329aa5323d7b2f2cd4f0ac38aa8707c13d
parente6328ef50ce7da255f6f3d222baf6c763d87b0c9
Sometimes a process terminates abnormally due to a signal generated during coreclr_shutdown.
In order to handle this situation, plugin must get notification before coreclr_shutdown.
So, call pluginFinalize before coreclr_shutdown.

And unload the plugin library after coreclr_shutdown() to avoid breaking the signal chain.
NativeLauncher/inc/plugin_manager.h
NativeLauncher/launcher/dotnet/dotnet_launcher.cc
NativeLauncher/util/plugin_manager.cc