mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-26 07:15:21 +02:00
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)
|
if (_hwnd)
|
||||||
{
|
{
|
||||||
::SendMessage(_hwnd, WM_CLOSE, 0, 0);
|
::PostMessage(_hwnd, WM_CLOSE, 0, 0);
|
||||||
_hwnd = NULL;
|
_hwnd = NULL;
|
||||||
::WaitForSingleObject(_hThread, INFINITE);
|
::WaitForSingleObject(_hThread, INFINITE);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user