diff options
Diffstat (limited to 'src/pal/src/init')
-rw-r--r-- | src/pal/src/init/pal.cpp | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/src/pal/src/init/pal.cpp b/src/pal/src/init/pal.cpp index fbd246e6a8..eef38a9230 100644 --- a/src/pal/src/init/pal.cpp +++ b/src/pal/src/init/pal.cpp @@ -756,11 +756,11 @@ Parameters : void PALCommonCleanup(BOOL full_cleanup) { - static bool done = false; + static bool cleanupDone = false; - if (!done) + if (!cleanupDone) { - done = true; + cleanupDone = true; PALSetShutdownIntent(); @@ -773,15 +773,6 @@ PALCommonCleanup(BOOL full_cleanup) #ifdef _DEBUG PROCDumpThreadList(); #endif - - TRACE("About to suspend every other thread\n"); - - /* prevent other threads from acquiring signaled objects */ - PROCCondemnOtherThreads(); - /* prevent other threads from using services we're shutting down */ - PROCSuspendOtherThreads(); - - TRACE("Every other thread suspended until exit\n"); } } |