Currently, we delete some objects during async shutdown starts and delete others when it has finished. We manually delete each individual object, so each time a new object is added to InitializerImpl, we need to remember to add that to the correct portion of the shutdown flow.
This isn't scalable, and it is error-prone since someone adding a new object could forget to add it to the right shutdown area.
Instead, when we create each object, we should associate it with a certain shutdown group and delete the entire group at once.
Comment 1 Deleted