mirror of https://github.com/ntop/n2n.git
Browse Source
* Add close window support for Windows * Support logoff and shudown events as well Without this change, when you close the terminal/shell window, it won't have the time to clean up which can cause authentication errors if you try to reconnect. Blocking here infinitely is fine since when our main thread returns, it will shut down anyway I found Go is doing this when I was searching, and there's a comment explained how it works: https://github.com/golang/go/issues/41884#issuecomment-706695923pull/1122/head
Tony
1 year ago
committed by
GitHub
1 changed files with 7 additions and 0 deletions
Loading…
Reference in new issue