1kasa commented on code in PR #2879:
URL: https://github.com/apache/dubbo-go/pull/2879#discussion_r2094138365
##########
registry/nacos/registry.go:
##########
@@ -58,6 +66,7 @@ type nacosRegistry struct {
*common.URL
namingClient *nacosClient.NacosNamingClient
registryUrls []*common.URL
+ done chan struct{}
Review Comment:
The done channel is closed (closed) to mark nacosRegistry as completed or
called, rather than by sending a signal to it. The specific code location is
```
select {
case <-nr.done:
default:
close(nr.done)
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]