src: add Cleanable class to Environment
We store a linked list of Cleanable
objects on the node::Environment
and invoke their Clean()
method during env teardown.
This eliminates the need for adding many cleanup hooks.
Do not update/delete: Banner broadcast message test data
Do not update/delete: Notification broadcast message test data
We store a linked list of Cleanable
objects on the node::Environment
and invoke their Clean()
method during env teardown.
This eliminates the need for adding many cleanup hooks.