Author: gadamopoulos Date: Thu Aug 18 13:16:05 2016 New Revision: 72325
URL: http://svn.reactos.org/svn/reactos?rev=72325&view=rev Log: [BROWSEUI] - Use OleFlushClipboard while the browser window is being destroyed in order to make make any IDataObject that is in clipboard to render so as make is data available after the browser thread exits. CORE-11565
Modified: trunk/reactos/dll/win32/browseui/shellbrowser.cpp
Modified: trunk/reactos/dll/win32/browseui/shellbrowser.cpp URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/shellbro... ============================================================================== --- trunk/reactos/dll/win32/browseui/shellbrowser.cpp [iso-8859-1] (original) +++ trunk/reactos/dll/win32/browseui/shellbrowser.cpp [iso-8859-1] Thu Aug 18 13:16:05 2016 @@ -3350,6 +3350,10 @@ LRESULT CShellBrowser::OnDestroy(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled) { HRESULT hr; + + /* The current thread is about to go down so render any IDataObject that may be left in the clipboard */ + OleFlushClipboard(); + // TODO: rip down everything { fCurrentShellView->DestroyViewWindow();