diff options
author | Jan Kotas <jkotas@microsoft.com> | 2016-04-19 07:14:25 +0300 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2016-04-19 07:14:25 +0300 |
commit | 802eb6ad212377e8e2b90da34950194018fe41da (patch) | |
tree | 258e070702395eee295080063521c121cf0b3e2e /src/Native/Runtime/startup.cpp | |
parent | a3340a16fa2a2cdb739dd6c2a93e248823586b63 (diff) |
Remove shutdown finalization
Remove shutdown finalization. It makes CoreRT/PN consistent with .NETCore / CoreCLR. The long story is in https://github.com/dotnet/corefx/issues/5205. The shutdown finalization was not used by UWP apps because they are never shutdown gracefully.
[tfs-changeset: 1597160]
Diffstat (limited to 'src/Native/Runtime/startup.cpp')
-rw-r--r-- | src/Native/Runtime/startup.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Native/Runtime/startup.cpp b/src/Native/Runtime/startup.cpp index 2d949e0e2..ce6298cff 100644 --- a/src/Native/Runtime/startup.cpp +++ b/src/Native/Runtime/startup.cpp @@ -324,11 +324,8 @@ HANDLE RtuCreateRuntimeInstance(HANDLE hPalInstance) // @TODO: Eventually we'll probably have a hosting API and explicit shutdown request. When that happens we'll // something more sophisticated here since we won't be able to rely on the OS cleaning up after us. // -COOP_PINVOKE_HELPER(void, RhpShutdownHelper, (UInt32 /*uExitCode*/)) +COOP_PINVOKE_HELPER(void, RhpShutdown, ()) { - // If the classlib has requested it perform a last pass of the finalizer thread. - RedhawkGCInterface::ShutdownFinalization(); - #ifdef FEATURE_PROFILING GetRuntimeInstance()->WriteProfileInfo(); #endif // FEATURE_PROFILING |