Alexandre Julliard : mshtml: 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: 1d0fe8664ec1b1030cd4816e25e45368299e7f55
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1d0fe8664ec1b1030cd4816e25e45368299e7f55

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

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

---

 dlls/mshtml/main.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/mshtml/main.c b/dlls/mshtml/main.c
index 503d738..f81255a 100644
--- a/dlls/mshtml/main.c
+++ b/dlls/mshtml/main.c
@@ -164,13 +164,14 @@ HDC get_display_dc(void)
     return display_dc;
 }
 
-BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
+BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID reserved)
 {
     switch(fdwReason) {
     case DLL_PROCESS_ATTACH:
         hInst = hInstDLL;
         break;
     case DLL_PROCESS_DETACH:
+        if (reserved) break;
         process_detach();
         break;
     case DLL_THREAD_DETACH:




More information about the wine-cvs mailing list