mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[BROWSEUI] FindFolder must release the view and the browser (#7529)
CORE-19780
This commit is contained in:
parent
df197bc424
commit
11d5cb8095
1 changed files with 6 additions and 0 deletions
|
@ -937,6 +937,12 @@ STDMETHODIMP CFindFolder::MessageSFVCB(UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||||
CComVariant searchBar(pwszGuid);
|
CComVariant searchBar(pwszGuid);
|
||||||
return pWebBrowser2->ShowBrowserBar(&searchBar, NULL, NULL);
|
return pWebBrowser2->ShowBrowserBar(&searchBar, NULL, NULL);
|
||||||
}
|
}
|
||||||
|
case SFVM_WINDOWCLOSING:
|
||||||
|
{
|
||||||
|
m_shellFolderView = NULL;
|
||||||
|
m_shellBrowser = NULL;
|
||||||
|
return S_OK;
|
||||||
|
}
|
||||||
case SFVM_GETCOMMANDDIR:
|
case SFVM_GETCOMMANDDIR:
|
||||||
{
|
{
|
||||||
HRESULT hr = E_FAIL;
|
HRESULT hr = E_FAIL;
|
||||||
|
|
Loading…
Reference in a new issue