Commit d4ba3d86 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

ieframe: IOleObject::Close() should notify OnClose() advise sink.

parent c08a89fc
......@@ -610,6 +610,10 @@ static HRESULT WINAPI OleObject_Close(IOleObject *iface, DWORD dwSaveOption)
IOleClientSite_AddRef(This->client);
hres = IOleObject_SetClientSite(iface, NULL);
This->client_closed = client;
if(This->advise_holder)
IOleAdviseHolder_SendOnClose(This->advise_holder);
return hres;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment