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
|
||||
scnN.nmhdr.code = NPPN_CANCELSHUTDOWN;
|
||||
_pluginsManager.notify(&scnN);
|
||||
|
||||
if (isSnapshotMode)
|
||||
::LockWindowUpdate(NULL);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user