Jacek Caban : shdocvw: Deactivate document in InternetExplorer destructor.

Alexandre Julliard julliard at winehq.org
Fri Apr 22 12:27:44 CDT 2011


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Fri Apr 22 14:07:33 2011 +0200

shdocvw: Deactivate document in InternetExplorer destructor.

---

 dlls/shdocvw/ie.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/shdocvw/ie.c b/dlls/shdocvw/ie.c
index 757cbb5..780c2c9 100644
--- a/dlls/shdocvw/ie.c
+++ b/dlls/shdocvw/ie.c
@@ -80,6 +80,7 @@ static ULONG WINAPI InternetExplorer_Release(IWebBrowser2 *iface)
 
     if(!ref) {
         if(This->doc_host) {
+            deactivate_document(&This->doc_host->doc_host);
             DocHost_Release(&This->doc_host->doc_host);
             if(This->doc_host) {
                 This->doc_host->ie = NULL;




More information about the wine-cvs mailing list