8317736: Stream::handleReset locks twice

Reviewed-by: ccleary, djelinski, jpai, vtewari
This commit is contained in:
Daniel Fuchs 2023-10-09 16:31:34 +00:00
parent 1f06325142
commit 508fa71753

View File

@ -622,7 +622,7 @@ class Stream<T> extends ExchangeImpl<T> {
}
closed = true;
} finally {
stateLock.lock();
stateLock.unlock();
}
try {
int error = frame.getErrorCode();