Fix crash issue while moving Find In Files progress window
Close #1187, Fixes #1172 Fix crash issue when moving the Find In Files progress window while the search finishes.
This commit is contained in:
parent
d8f6ac67ea
commit
89cd163cca
@ -3096,7 +3096,7 @@ void Progress::close()
|
||||
{
|
||||
if (_hwnd)
|
||||
{
|
||||
::SendMessage(_hwnd, WM_CLOSE, 0, 0);
|
||||
::PostMessage(_hwnd, WM_CLOSE, 0, 0);
|
||||
_hwnd = NULL;
|
||||
::WaitForSingleObject(_hThread, INFINITE);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user