You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Restlight should be shut down before closing Spring context.
Actual behavior
Restlight does the graceful shutdown by adding an individual shutdown hook, which has a different lifecycle from Spring's shutdown hook. This would cause errors when invoking the controller methods because the beans these methods belong to would have been destroyed in Spring's shutdown hook if Spring's shutdown hook is executed before Restlight's shutdown hook.
Expected behavior
Restlight should be shut down before closing Spring context.
Actual behavior
Restlight does the graceful shutdown by adding an individual shutdown hook, which has a different lifecycle from Spring's shutdown hook. This would cause errors when invoking the controller methods because the beans these methods belong to would have been destroyed in Spring's shutdown hook if Spring's shutdown hook is executed before Restlight's shutdown hook.
esa-restlight/restlight-server/src/main/java/esa/restlight/server/bootstrap/NettyRestlightServer.java
Line 112 in ce8fe48
Steps to reproduce
see above
Env
The text was updated successfully, but these errors were encountered: