GOP/GKOP close() - incorrect behaviour with evict() ?
-----------------------------------------------------
Key: POOL-206
URL: https://issues.apache.org/jira/browse/POOL-206
Project: Commons Pool
Issue Type: Bug
Reporter: Sebb
GOP/GKOP close() methods close the pool before stopping the evictor; that seems
wrong.
The evict() method calls assertOpen() so the evictor thread should be stopped
before closing the pool.
Also, the evictor thread should probably be allowed to complete if currently
active.
Not sure about calling clear() before the evictor is cancelled; should perhaps
be run afterwards?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira