xomx 6000f3bb21 Fix session.xml emptying by forced Windows update restart
This fixes both the long standing problem with the emptying of the session.xml file by forced Windows Update restart/shutdown and some potential Notepad++ crashes caused by possible main Notepad++ window blocking at exit.

Two main changes to the original design:
- WM_QUERYENDSESSION is not used anymore for the tidy-up ops and it always quickly returns TRUE/FALSE to the system as it should.
- there is now a safe-guard flag for the session.xml saving at N++ exit, which prevents otherwise possible incorrect overwriting in case of multiple "endsession" messages.

Fix #9850, fix #12389, close #12388
2022-10-30 14:06:33 +01:00
..
2022-10-04 03:46:57 +02:00
2022-09-19 01:38:26 +02:00
2022-07-24 05:34:26 +02:00
2022-09-11 18:22:51 +02:00
2021-01-24 01:51:19 +01:00
2021-01-24 01:51:19 +01:00
2022-09-11 18:22:51 +02:00
2021-01-24 01:51:19 +01:00
2021-01-24 01:51:19 +01:00
2021-01-24 01:51:19 +01:00
2021-04-04 18:17:35 +02:00
2022-09-11 18:22:51 +02:00