diff --git a/registry/nacos/v2/watcher.go b/registry/nacos/v2/watcher.go index 24be217cd..158cdb49a 100644 --- a/registry/nacos/v2/watcher.go +++ b/registry/nacos/v2/watcher.go @@ -491,6 +491,7 @@ func (w *watcher) Stop() { } w.isStop = true + w.namingClient.CloseClient() close(w.stop) w.Ready(false) }