瀏覽代碼

fix client status when close client

刘河 5 年之前
父節點
當前提交
5b1774c7b7
共有 1 個文件被更改,包括 1 次插入0 次删除
  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()
 	}