shdocvw: Deactivate document in InternetExplorer destructor.

This commit is contained in:
Jacek Caban 2011-04-22 14:07:33 +02:00 committed by Alexandre Julliard
parent 86c28c9f89
commit fa2e4bb5de
1 changed files with 1 additions and 0 deletions

View File

@ -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;