Skip to content

Commit

Permalink
Fix crash issue while moving Find In Files progress window
Browse files Browse the repository at this point in the history
Close notepad-plus-plus#1187, Fixes notepad-plus-plus#1172
Fix crash issue when moving the Find In Files progress window while the
search finishes.
  • Loading branch information
pnedev authored and donho committed Nov 26, 2015
1 parent d8f6ac6 commit 89cd163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 89cd163

Please sign in to comment.