Commit 66a54686 authored by Alexandre Julliard's avatar Alexandre Julliard

msvcrt: Don't bother to clean up at process exit.

parent b30160f6
...@@ -118,8 +118,9 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) ...@@ -118,8 +118,9 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
case DLL_THREAD_ATTACH: case DLL_THREAD_ATTACH:
break; break;
case DLL_PROCESS_DETACH: case DLL_PROCESS_DETACH:
msvcrt_free_popen_data();
msvcrt_free_io(); msvcrt_free_io();
if (lpvReserved) break;
msvcrt_free_popen_data();
msvcrt_free_mt_locks(); msvcrt_free_mt_locks();
msvcrt_free_console(); msvcrt_free_console();
msvcrt_free_args(); msvcrt_free_args();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment