From d578d0d6c3407f292151979e28b13230c871abbf Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 14 May 2013 11:18:37 +0200 Subject: [PATCH] msi: Don't bother to unregister classes at process exit. --- dlls/msi/msi_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/msi/msi_main.c b/dlls/msi/msi_main.c index 46f9ed8db11..148e6787628 100644 --- a/dlls/msi/msi_main.c +++ b/dlls/msi/msi_main.c @@ -76,6 +76,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) IsWow64Process( GetCurrentProcess(), &is_wow64 ); break; case DLL_PROCESS_DETACH: + if (lpvReserved) break; msi_dialog_unregister_class(); msi_free_handle_table(); msi_free( gszLogFile ); -- 2.11.4.GIT