Hang when share disconnected
-
If there is a file opened from network share in opened files list during closing the program, and if this share is disconnected during next program start, then NPP hangs (30 sec minimum, sometimes more).
How to avoid?
PS. Windows 10 Pro x64, workgroup, share - NAS, letter is not assigned, UNC is used.
-
The simple answer (that you would no like) is: in
Preferences->Backup
disableRemember current session for next run
.Essentially Notepad++ deals with files and their paths. Notepad++ is not aware that some specific path refers to a network share. The hang you observe is until Windows network stack give up with timeout.
Perhaps if you did use drive letter Windows would realize that the letter is unconnected faster than with UNC.