Browse Source

fix client status when close client

刘河 5 years ago
parent
commit
5b1774c7b7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      client/client.go

+ 1 - 0
client/client.go

@@ -288,6 +288,7 @@ loop:
 
 func (s *TRPClient) Close() {
 	CloseClient = true
+	NowStatus = 0
 	if s.tunnel != nil {
 		s.tunnel.Close()
 	}