mirror of
https://github.com/ehang-io/nps.git
synced 2025-08-31 09:36:57 +00:00
fix client status when close client
This commit is contained in:
@@ -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