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

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Dmitry Timoshkov 2020-07-29 16:57:25 +08:00 committed by Alexandre Julliard
parent c08a89fc75
commit d4ba3d866d
1 changed files with 4 additions and 0 deletions

View File

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