Details
-
Sub-task
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
In order to ensure that all things are closed correctly, we need to call IOThreadPool#close. Doing that on the singleton is pretty bad manners. So we should just use our own IOThreadPool and not use the global one at all.
This will involve making the client have the threads.
Passing the threads to connection pool, connection factory, etc.
Calling close on the threads when cleaning up the client.