Fixing bad merge: synchronized to AutoLock

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
Joakim Erdfelt 2020-09-30 09:46:21 -05:00
parent 51b01ab361
commit cc7ad29a91
No known key found for this signature in database
GPG Key ID: 2D0E1FB8FE4B68B4
1 changed files with 1 additions and 1 deletions

View File

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