solisamicus opened a new pull request, #2769:
URL: https://github.com/apache/dubbo-go/pull/2769
**What this PR does**:
- Replaces the `map[registry.MappingListener]struct{}` with a thread-safe
`ListenerSet` for managing listeners.
- Ensures safe concurrent access by using `sync.RWMutex` in the
`ListenerSet`.
**Which issue(s) this PR fixes**:
Fixes #2759
**Special notes for your reviewer**:
- This refactor improves thread safety but may require additional
performance testing to ensure there is no negative impact on listener
management.
- No change in external functionality, this is an internal improvement.
**Does this PR introduce a user-facing change?**:
```release-note
NONE
```
--
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]