From 5b1774c7b7b7e18ad83929a4347d57d2eeb899c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B2=B3?= Date: Sun, 8 Dec 2019 21:15:27 +0800 Subject: [PATCH] fix client status when close client --- client/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/client/client.go b/client/client.go index 326ad64..7a6f1da 100755 --- a/client/client.go +++ b/client/client.go @@ -288,6 +288,7 @@ loop: func (s *TRPClient) Close() { CloseClient = true + NowStatus = 0 if s.tunnel != nil { s.tunnel.Close() }