From: Toni Wilen Date: Thu, 2 Oct 2025 15:07:34 +0000 (+0300) Subject: Make sure dialog close is always processed X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=e7e2f9fa5e5daced7b3384db0043dd7daefe3d69;p=francis%2Fwinuae.git Make sure dialog close is always processed --- diff --git a/od-win32/hardfile_win32.cpp b/od-win32/hardfile_win32.cpp index 0cde5d71..9c43bdf2 100644 --- a/od-win32/hardfile_win32.cpp +++ b/od-win32/hardfile_win32.cpp @@ -508,6 +508,9 @@ static INT_PTR CALLBACK ProgressDialogProc (HWND hDlg, UINT msg, WPARAM wParam, switch(msg) { case WM_DESTROY: + if (cdstate.active) { + CustomDialogClose(hDlg, 0); + } PostQuitMessage(0); return TRUE; case WM_CLOSE: