merge jetty-9.4.x into jetty-10.0.x

Signed-off-by: Ludovic Orban <lorban@bitronix.be>
This commit is contained in:
Ludovic Orban 2020-12-01 15:26:25 +01:00
parent a26731c5ea
commit 845c6b457a
1 changed files with 1 additions and 1 deletions

View File

@ -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;