mshtml: Don't release plugins collection in OmNavigator destructor since it contains a weak reference.

This commit is contained in:
Jacek Caban 2011-05-31 12:19:55 +02:00 committed by Alexandre Julliard
parent 9dcceab061
commit aa29f5e0f6
1 changed files with 1 additions and 3 deletions

View File

@ -366,10 +366,8 @@ static ULONG WINAPI OmNavigator_Release(IOmNavigator *iface)
TRACE("(%p) ref=%d\n", This, ref);
if(!ref) {
if(This->plugins) {
if(This->plugins)
This->plugins->navigator = NULL;
IHTMLPluginsCollection_Release(&This->plugins->IHTMLPluginsCollection_iface);
}
if(This->mime_types)
This->mime_types->navigator = NULL;
release_dispex(&This->dispex);