Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Hang when share disconnected

    Help wanted · · · – – – · · ·
    2
    2
    72
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Владислав Сокол
      Владислав Сокол last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • gstavi
        gstavi last edited by

        The simple answer (that you would no like) is: in Preferences->Backup disable Remember 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.

        1 Reply Last reply Reply Quote 3
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors