mirror of
https://github.com/ehang-io/nps.git
synced 2025-07-05 06:40:43 +00:00
fix client status when close client
This commit is contained in:
parent
a3435c4c42
commit
5b1774c7b7
@ -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()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user