mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
Polishing contribution
Closes gh-35978
This commit is contained in:
@@ -206,7 +206,7 @@ final class SubscriberInputStream<T> extends InputStream implements Flow.Subscri
|
||||
}
|
||||
|
||||
private void resume() {
|
||||
if (this.parkedThread != READY) {
|
||||
if (this.parkedThread.get() != READY) {
|
||||
Object old = this.parkedThread.getAndSet(READY);
|
||||
if (old != READY) {
|
||||
LockSupport.unpark((Thread) old);
|
||||
|
||||
Reference in New Issue
Block a user