Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
H2 registers a JVM shutdown hook to close the database upon reception of `SIGTERM`. However, the hook executes before the servlet context has shut down, so event processing can still be going on at that time, causing a flood of "database already closed" exceptions. The H2 database is already closed as part of Alpine's `PersistenceManagerFactory#contextDestroyed` method, thus making the additional shutdown hook of H2 redundant anyway. Signed-off-by: nscuro <[email protected]>
- Loading branch information