mirror of
https://github.com/alibaba/higress.git
synced 2026-05-26 21:57:30 +08:00
fix: nacos client opened, but not been closed (#542)
This commit is contained in:
@@ -491,6 +491,7 @@ func (w *watcher) Stop() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
w.isStop = true
|
w.isStop = true
|
||||||
|
w.namingClient.CloseClient()
|
||||||
close(w.stop)
|
close(w.stop)
|
||||||
w.Ready(false)
|
w.Ready(false)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user