Fixed locking.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
parent
b77a8054a2
commit
573ea67cda
|
@ -769,7 +769,7 @@ public class HTTP2Stream implements IStream, Callback, Dumpable, CyclicTimeouts.
|
|||
@Override
|
||||
public InvocationType getInvocationType()
|
||||
{
|
||||
synchronized (this)
|
||||
try (AutoLock ignored = lock.lock())
|
||||
{
|
||||
return sendCallback != null ? sendCallback.getInvocationType() : Callback.super.getInvocationType();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue