destroyPods method
Destroys all managed pods in the given
ConfigurableListablePodFactory
.
Called during shutdown or refresh cancellation to ensure graceful resource cleanup. This includes invoking registered destroy methods and releasing references.
Subclasses can extend this for additional teardown steps.
Implementation
@protected
Future<void> destroyPods() async {
destroySingletons();
return Future.value();
}