destroySingletons abstract method
void
destroySingletons()
inherited
Destroys all singleton pods in the factory.
This method calls destruction callbacks on all singleton pods and clears the singleton registry. Useful for application shutdown.
Usage Example:
// During application shutdown
await factory.destroySingletons();
Implementation
void destroySingletons();