mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-23 22:04:55 +02:00
Fix hanging problem while shutingdown and backup file is absent
Fix #4295, fix #4276, close #4611
This commit is contained in:
parent
6b5144d176
commit
85e3c53a21
@ -1766,6 +1766,9 @@ LRESULT Notepad_plus::process(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPa
|
|||||||
//User cancelled the shutdown
|
//User cancelled the shutdown
|
||||||
scnN.nmhdr.code = NPPN_CANCELSHUTDOWN;
|
scnN.nmhdr.code = NPPN_CANCELSHUTDOWN;
|
||||||
_pluginsManager.notify(&scnN);
|
_pluginsManager.notify(&scnN);
|
||||||
|
|
||||||
|
if (isSnapshotMode)
|
||||||
|
::LockWindowUpdate(NULL);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user