fix client status when close client

pull/298/head
刘河 2019-12-08 21:15:27 +08:00
parent a3435c4c42
commit 5b1774c7b7
1 changed files with 1 additions and 0 deletions

View File

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