Enhance performance on exit with certain settings
Notepad++ is unnecessarily stalled in the situation, when closing a N++ with a large file opened within, but the session.xml file will not be updated at all due to the current Notepad++ settings chosen. Fix #11219, close #11259
This commit is contained in:
parent
58e404650b
commit
3de15f5512
|
@ -1975,6 +1975,7 @@ LRESULT Notepad_plus::process(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPa
|
||||||
}
|
}
|
||||||
|
|
||||||
Session currentSession;
|
Session currentSession;
|
||||||
|
if (!((nppgui._multiInstSetting == monoInst) && !nppgui._rememberLastSession))
|
||||||
getCurrentOpenedFiles(currentSession, true);
|
getCurrentOpenedFiles(currentSession, true);
|
||||||
|
|
||||||
if (nppgui._rememberLastSession)
|
if (nppgui._rememberLastSession)
|
||||||
|
|
Loading…
Reference in New Issue