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,7 +1975,8 @@ LRESULT Notepad_plus::process(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPa
|
|||
}
|
||||
|
||||
Session currentSession;
|
||||
getCurrentOpenedFiles(currentSession, true);
|
||||
if (!((nppgui._multiInstSetting == monoInst) && !nppgui._rememberLastSession))
|
||||
getCurrentOpenedFiles(currentSession, true);
|
||||
|
||||
if (nppgui._rememberLastSession)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue