merge jetty-9.4.x into jetty-10.0.x
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
This commit is contained in:
parent
a26731c5ea
commit
845c6b457a
|
@ -190,7 +190,7 @@ public class Pool<T> implements AutoCloseable, Dumpable
|
||||||
|
|
||||||
// Iterate the entries, remove overused ones and collect a list of the closeable removed ones.
|
// Iterate the entries, remove overused ones and collect a list of the closeable removed ones.
|
||||||
List<Closeable> copy;
|
List<Closeable> copy;
|
||||||
try (Locker.Lock l = locker.lock())
|
try (AutoLock l = lock.lock())
|
||||||
{
|
{
|
||||||
if (closed)
|
if (closed)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue