msxml3: Don't unload external libraries on process shutdown.
This commit is contained in:
parent
6eca89efa7
commit
2710f05cef
|
@ -209,7 +209,7 @@ static void init_libxslt(void)
|
|||
#endif
|
||||
}
|
||||
|
||||
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
|
||||
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID reserved)
|
||||
{
|
||||
MSXML_hInstance = hInstDLL;
|
||||
|
||||
|
@ -235,12 +235,12 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
|
|||
DisableThreadLibraryCalls(hInstDLL);
|
||||
break;
|
||||
case DLL_PROCESS_DETACH:
|
||||
if (reserved) break;
|
||||
#ifdef SONAME_LIBXSLT
|
||||
if (libxslt_handle)
|
||||
{
|
||||
pxsltCleanupGlobals();
|
||||
wine_dlclose(libxslt_handle, NULL, 0);
|
||||
libxslt_handle = NULL;
|
||||
}
|
||||
#endif
|
||||
#ifdef HAVE_LIBXML2
|
||||
|
|
Loading…
Reference in New Issue