mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Polish
This commit is contained in:
+2
-3
@@ -67,10 +67,9 @@ public class ReactorHttpServer extends HttpServerSupport implements HttpServer,
|
||||
|
||||
@Override
|
||||
public void start() {
|
||||
//Should be made thread-safe (compareAndSet..)
|
||||
// TODO: should be made thread-safe (compareAndSet..)
|
||||
if (this.running == null) {
|
||||
this.running = this.reactorServer.newHandler(reactorHandler)
|
||||
.block();
|
||||
this.running = this.reactorServer.newHandler(reactorHandler).block();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user