Skip to content
Snippets Groups Projects
Commit aaf99d8e authored by Alessandro Pignotti's avatar Alessandro Pignotti Committed by Alexandre Julliard
Browse files

atl: Send OLE_CLOSE command to control on detach.

parent 04305e7f
Branches
Tags
No related merge requests found
......@@ -800,6 +800,7 @@ static HRESULT IOCS_Detach( IOCS *This ) /* remove subclassing */
IOleObject *control = This->control;
This->control = NULL;
IOleObject_Close( control, OLECLOSE_NOSAVE );
IOleObject_SetClientSite( control, NULL );
IOleObject_Release( control );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment