Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions src/coreclr/nativeaot/Bootstrap/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.

#include <stdint.h>
#include <stdlib.h>

//
// This is the mechanism whereby multiple linked modules contribute their global data for initialization at
Expand Down Expand Up @@ -223,12 +222,7 @@ int main(int argc, char* argv[])
if (initval != 0)
return initval;

#if defined(DEBUG) && defined(_WIN32)
// quick_exit works around Debug UCRT shutdown issues: https://github.com/dotnet/runtime/issues/108640
quick_exit(__managed__Main(argc, argv));
#else
return __managed__Main(argc, argv);
#endif
}

#ifdef HAS_ADDRESS_SANITIZER
Expand Down
4 changes: 0 additions & 4 deletions src/coreclr/nativeaot/Runtime/startup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -350,10 +350,6 @@ extern "C" bool RhInitialize(bool isDll)
#endif

#if defined(HOST_WINDOWS) || defined(FEATURE_PERFTRACING)
#if defined(DEBUG) && defined(HOST_WINDOWS)
// quick_exit works around Debug UCRT shutdown issues: https://github.com/dotnet/runtime/issues/108640
at_quick_exit(&OnProcessExit);
#endif
atexit(&OnProcessExit);
#endif

Expand Down
Loading