mirror of
https://github.com/ehang-io/nps.git
synced 2025-09-03 04:26:53 +00:00
fix client status when close client
This commit is contained in:
@@ -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()
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user