1
0
Эх сурвалжийг харах

fix client status when close client

刘河 5 жил өмнө
parent
commit
5b1774c7b7

+ 1 - 0
client/client.go

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