Description
Currently deletion and closing of objects are completely independent.
It seems reasonable that an object that is being deleted should be closed before hand to ensure resources are being cleaned up and to reduce code duplication.
In fact many implementations of ConfiguredObjects already do this.
This JIRA suggests to do this in a generic way in AbstractConfiguredObject.
The suggested order would be:
ACO.deleteAsync
- calls delete on all children
- closes itself
- deletes itself
Attachments
Issue Links
- relates to
-
QPID-8066 [Broker-J] Virtual host logger rules are left over in configuration store after deletion of virtual host logger on provided virtual host causing virtualhost restart failure
- Closed