Closed danilobuerger closed 9 months ago
Also when a service's shutdown function panics it would be nice to be able to recover from that error and finish up shutdown for other services.
@samber any chance we can discuss this? I would PR it if you are open to the change!
Fixed in v2 -> #45
Currently when
Injector.Shutdown
receives an error while callingShutdown
on a service, it aborts and never callsShutdown
on the following services. It would be nice to have it behave likeInjector.HealthCheck
were all services are called regardless of their returned errors.