msvcrt: Don't bother to clean up at process exit.
This commit is contained in:
parent
b30160f669
commit
66a5468676
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue