Fix hanging problem while shutingdown and backup file is absent

Fix #4295, fix #4276, close #4611
This commit is contained in:
AngryGamer 2018-06-28 02:18:28 -07:00 committed by Don HO
parent 6b5144d176
commit 85e3c53a21

View File

@ -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;
}