[BROWSEUI] FindFolder must release the view and the browser (#7529)

CORE-19780
This commit is contained in:
Whindmar Saksit 2024-11-30 22:05:50 +01:00 committed by GitHub
parent df197bc424
commit 11d5cb8095
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -937,6 +937,12 @@ STDMETHODIMP CFindFolder::MessageSFVCB(UINT uMsg, WPARAM wParam, LPARAM lParam)
CComVariant searchBar(pwszGuid);
return pWebBrowser2->ShowBrowserBar(&searchBar, NULL, NULL);
}
case SFVM_WINDOWCLOSING:
{
m_shellFolderView = NULL;
m_shellBrowser = NULL;
return S_OK;
}
case SFVM_GETCOMMANDDIR:
{
HRESULT hr = E_FAIL;