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
When using Database.nonBlocking() and not providing a custom scheduler the ExecutorService created is never shutdown. This will prevent JVM shutdown. The responsibility to close it lies in the library because it is created there. It is also impossible to access it through getters from the outside so closing it by hand is only possible using some weird reflection.
val db =Database.nonBlocking().build()
// use at least one connection
db.close()
// ExecutorService still running and never stopped
The text was updated successfully, but these errors were encountered:
Quite the delay on my response on this one but looks valid. I'm looking at something else with this project right now so I'll probably address this too.
When using Database.nonBlocking() and not providing a custom scheduler the ExecutorService created is never shutdown. This will prevent JVM shutdown. The responsibility to close it lies in the library because it is created there. It is also impossible to access it through getters from the outside so closing it by hand is only possible using some weird reflection.
The text was updated successfully, but these errors were encountered: