mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-27 13:14:26 -04:00
[misc] don't prevent Windows shutdown if Rufus is running
* Closes #512
This commit is contained in:
parent
cf391d693d
commit
3edb9d93f7
2 changed files with 9 additions and 8 deletions
|
@ -2430,6 +2430,7 @@ static INT_PTR CALLBACK MainCallback(HWND hDlg, UINT message, WPARAM wParam, LPA
|
|||
break;
|
||||
|
||||
case WM_CLOSE:
|
||||
case WM_ENDSESSION:
|
||||
if (format_thid != NULL) {
|
||||
return (INT_PTR)TRUE;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue