[ 
https://issues.apache.org/jira/browse/POOL-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Phil Steitz closed POOL-206.
----------------------------

> 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
>             Fix For: 2.0
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to