Skip to content

Commit

Permalink
Fix hanging problem while shutingdown and backup file is absent
Browse files Browse the repository at this point in the history
Fix #4295, fix #4276, close #4611
  • Loading branch information
AngryGamer authored and donho committed Jun 28, 2018
1 parent 6b5144d commit 85e3c53
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions PowerEditor/src/NppBigSwitch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 85e3c53

Please sign in to comment.