devCod3r opened a new pull request, #3740: URL: https://github.com/apache/eventmesh/pull/3740
Fixes #3416 ### Motivation *Because Double Brace Initialization (DBI) creates an anonymous class with a reference to the instance of the owning object, its use can lead to memory leaks if the anonymous inner class is returned and held by other objects. Even when there’s no leak, DBI is so obscure that it’s bound to confuse most maintainers.* *Fixes the above mentioned issue.* Issue #3416 ### Modifications *Modified the initialization of localClients instance on line 391,451.* ### Documentation - Does this pull request introduce a new feature? - Ans: no - If a feature is not applicable for documentation, explain why? - Ans: Only changed the method of initialization of an instance. -- 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: dev-unsubscr...@eventmesh.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@eventmesh.apache.org For additional commands, e-mail: dev-h...@eventmesh.apache.org