mirror of
https://github.com/ehang-io/nps.git
synced 2026-11-01 17:30:20 +08:00
public key bug and multiuser enhancement and server ip support and config file of client optimization
This commit is contained in:
1 parent
00a4a33c5f
commit
42a73fa392
22 files changed
+155
-70
No files matched your search
+9
-3
@@ -228,7 +228,13 @@ loop:
|
||||
}
|
||||
|
||||
func (s *TRPClient) Close() {
|
||||
s.tunnel.Close()
|
||||
s.signal.Close()
|
||||
s.ticker.Stop()
|
||||
if s.tunnel != nil {
|
||||
s.tunnel.Close()
|
||||
}
|
||||
if s.signal != nil {
|
||||
s.signal.Close()
|
||||
}
|
||||
if s.ticker != nil {
|
||||
s.ticker.Stop()
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user