Commit e3b84cf4 authored by Alexandre Julliard's avatar Alexandre Julliard

shdocvw: Don't bother to free libraries at process exit.

parent 2aa3d2b0
...@@ -149,9 +149,9 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD fdwReason, LPVOID fImpLoad) ...@@ -149,9 +149,9 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD fdwReason, LPVOID fImpLoad)
case DLL_PROCESS_ATTACH: case DLL_PROCESS_ATTACH:
break; break;
case DLL_PROCESS_DETACH: case DLL_PROCESS_DETACH:
if (fImpLoad) break;
if (SHDOCVW_hshell32) FreeLibrary(SHDOCVW_hshell32); if (SHDOCVW_hshell32) FreeLibrary(SHDOCVW_hshell32);
if(ieframe_instance) if (ieframe_instance) FreeLibrary(ieframe_instance);
FreeLibrary(ieframe_instance);
break; break;
} }
return TRUE; return TRUE;
......
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