Struct PreDestroy

Methods marked with this UDA within dependencies are called before the container loses the dependency's registration.

struct PreDestroy ;

This method is called when removeRegistration or clearAllRegistrations is called. It will also be called when the container's destructor is called.