Fixing bad merge: synchronized to AutoLock
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
parent
51b01ab361
commit
cc7ad29a91
|
@ -118,7 +118,7 @@ public class HTTP2Flusher extends IteratingCallback implements Dumpable
|
|||
public boolean append(List<Entry> list)
|
||||
{
|
||||
Throwable closed;
|
||||
synchronized (this)
|
||||
try (AutoLock l = lock.lock())
|
||||
{
|
||||
closed = terminated;
|
||||
if (closed == null)
|
||||
|
|
Loading…
Reference in New Issue