Skip to content

Fix loaded session being empty on exit#11017

Closed
donho wants to merge 1 commit intonotepad-plus-plus:masterfrom
donho:fix_empty_session_on_exit_issue
Closed

Fix loaded session being empty on exit#11017
donho wants to merge 1 commit intonotepad-plus-plus:masterfrom
donho:fix_empty_session_on_exit_issue

Conversation

@donho
Copy link
Member

@donho donho commented Jan 10, 2022

In the following configuration loaded session will be empty on exit

  • Remember current session for next launch: OFF
  • Open session in a new instance: ON

This commit fix the issue.

Fix #10986

In the following configuration loaded session will be empty on exit
* Remember current session for next launch: OFF
* Open session in a new instance: ON

This commit fix the issue.

Fix notepad-plus-plus#10986
@chcg chcg added the bug label Jan 10, 2022
@donho donho closed this in ed40f11 Jan 10, 2022
@donho donho deleted the fix_empty_session_on_exit_issue branch January 10, 2022 14:06
chcg pushed a commit to chcg/notepad-plus-plus that referenced this pull request Jan 15, 2022
In the following configuration loaded session will be empty on exit
* Remember current session for next launch: OFF
* Open session in a new instance: ON

This commit fix the issue.

Fix notepad-plus-plus#10986, close notepad-plus-plus#11017
xomx added a commit to xomx/notepad-plus-plus that referenced this pull request Feb 21, 2022
This is only a small regression from the fix notepad-plus-plus#11017 .

N++ is unnecessarily stalled in the situation, when closing a N++ with a large file opened within, but the session.xml file cannot be updated at all due to the current N++ settings chosen.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Session file gets emptied without having changed anything

2 participants