From e7e2f9fa5e5daced7b3384db0043dd7daefe3d69 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Thu, 2 Oct 2025 18:07:34 +0300 Subject: [PATCH] Make sure dialog close is always processed --- od-win32/hardfile_win32.cpp | 3 +++ 1 file changed, 3 insertions(+) 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: -- 2.47.3