Alexandre Julliard : winhttp: Don't bother to clean up at process exit.

Alexandre Julliard julliard at winehq.org
Fri May 17 14:24:33 CDT 2013


Module: wine
Branch: master
Commit: 7ad43e4e8874e16401aab08205ea2f22d3a01862
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7ad43e4e8874e16401aab08205ea2f22d3a01862

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri May 17 12:28:45 2013 +0200

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

---

 dlls/winhttp/main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/winhttp/main.c b/dlls/winhttp/main.c
index 5348d4d..5827c10 100644
--- a/dlls/winhttp/main.c
+++ b/dlls/winhttp/main.c
@@ -46,6 +46,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
         DisableThreadLibraryCalls(hInstDLL);
         break;
     case DLL_PROCESS_DETACH:
+        if (lpv) break;
         netconn_unload();
         break;
     }




More information about the wine-cvs mailing list