shutdownGracefully returns a future, which is discarded. The future should either be completed before returning, or there should be a close method that returns the future.
This causes problems in cases where the process ends before the shutdown completes, causing non-closed connections to remain open on postgres.
https://github.com/alaisi/postgres-async-driver/blob/master/src/main/java/com/github/pgasync/impl/netty/NettyPgConnectionPool.java#L49
shutdownGracefully returns a future, which is discarded. The future should either be completed before returning, or there should be a close method that returns the future.
This causes problems in cases where the process ends before the shutdown completes, causing non-closed connections to remain open on postgres.