fix: nacos client opened, but not been closed (#542)

This commit is contained in:
Erica Liu
2023-09-21 17:03:04 +08:00
committed by GitHub
parent 2393af5c85
commit fab734d39a

View File

@@ -491,6 +491,7 @@ func (w *watcher) Stop() {
}
w.isStop = true
w.namingClient.CloseClient()
close(w.stop)
w.Ready(false)
}