Skip to content

Commit 3b1fa36

Browse files
committed
Polishing contribution
Closes gh-35978
1 parent 221adf1 commit 3b1fa36

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
@@ -209,7 +209,7 @@ int addWork() {
209209
}
210210

211211
private void resume() {
212-
if (this.parkedThread != READY) {
212+
if (this.parkedThread.get() != READY) {
213213
Object old = this.parkedThread.getAndSet(READY);
214214
if (old != READY) {
215215
LockSupport.unpark((Thread) old);

0 commit comments

Comments
 (0)