mirror of
https://github.com/ehang-io/nps.git
synced 2026-11-01 01:02:12 +08:00
fix client status when close client
This commit is contained in:
1 parent
a3435c4c42
commit
5b1774c7b7
1 file changed
+1
@@ -288,6 +288,7 @@ loop:
|
||||
|
||||
func (s *TRPClient) Close() {
|
||||
CloseClient = true
|
||||
NowStatus = 0
|
||||
if s.tunnel != nil {
|
||||
s.tunnel.Close()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user