Alexandre Julliard : mshtml: Never try to unload the Gecko libraries.

Alexandre Julliard julliard at winehq.org
Wed Aug 5 09:48:03 CDT 2009


Module: wine
Branch: master
Commit: 6aa4d2e56282e623efa020efa9bbf428b989aa27
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6aa4d2e56282e623efa020efa9bbf428b989aa27

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Aug  5 11:21:33 2009 +0200

mshtml: Never try to unload the Gecko libraries.

---

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

diff --git a/dlls/mshtml/nsembed.c b/dlls/mshtml/nsembed.c
index 85a3a0d..0464e05 100644
--- a/dlls/mshtml/nsembed.c
+++ b/dlls/mshtml/nsembed.c
@@ -879,8 +879,8 @@ void close_gecko(void)
     if(nsmem)
         nsIMemory_Release(nsmem);
 
-    if(hXPCOM)
-        FreeLibrary(hXPCOM);
+    /* Gecko doesn't really support being unloaded */
+    /* if (hXPCOM) FreeLibrary(hXPCOM); */
 }
 
 /**********************************************************




More information about the wine-cvs mailing list