Skip to content

Commit e7e4b35

Browse files
committed
Polishing contribution
Closes gh-35978
1 parent feb77f9 commit e7e4b35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-web/src/main/java/org/springframework/http/client/SubscriberInputStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ int addWork() {
206206
}
207207

208208
private void resume() {
209-
if (this.parkedThread != READY) {
209+
if (this.parkedThread.get() != READY) {
210210
Object old = this.parkedThread.getAndSet(READY);
211211
if (old != READY) {
212212
LockSupport.unpark((Thread) old);

0 commit comments

Comments
 (0)