Alexandre Julliard : inetcomm: Don' t bother to unregister classes at process exit.
Alexandre Julliard
julliard at winehq.org
Tue May 14 15:34:11 CDT 2013
Module: wine
Branch: master
Commit: 1b5114d9fc37992af5698c9b2eb17cb9404d80ab
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1b5114d9fc37992af5698c9b2eb17cb9404d80ab
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue May 14 11:16:33 2013 +0200
inetcomm: Don't bother to unregister classes at process exit.
---
dlls/inetcomm/inetcomm_main.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/inetcomm/inetcomm_main.c b/dlls/inetcomm/inetcomm_main.c
index 8f5eca6..9987a41 100644
--- a/dlls/inetcomm/inetcomm_main.c
+++ b/dlls/inetcomm/inetcomm_main.c
@@ -58,11 +58,10 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
MimeInternational_Construct(&international);
break;
case DLL_PROCESS_DETACH:
+ if (lpvReserved) break;
IMimeInternational_Release(international);
InternetTransport_UnregisterClass(hinstDLL);
break;
- default:
- break;
}
return TRUE;
}
More information about the wine-cvs
mailing list