jbertram commented on code in PR #6097:
URL: https://github.com/apache/activemq-artemis/pull/6097#discussion_r2585825920


##########
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/management/impl/ManagementServiceImpl.java:
##########
@@ -300,6 +311,7 @@ public void registerAddressMeters(AddressInfo addressInfo, 
AddressControl addres
    public void unregisterAddress(final SimpleString address) throws Exception {
       unregisterFromJMX(objectNameBuilder.getAddressObjectName(address));
       unregisterFromRegistry(ResourceNames.ADDRESS + address);
+      unregisterAddressControls(ResourceNames.ADDRESS + address);

Review Comment:
   This should replace the call to `unregisterFromRegistry`, no?



-- 
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]
For further information, visit: https://activemq.apache.org/contact


Reply via email to