commit
49bbbb060d
|
|
@ -225,8 +225,8 @@ public abstract class AbstractServerHttpResponse implements ServerHttpResponse {
|
||||||
this.commitActions.add(writeAction);
|
this.commitActions.add(writeAction);
|
||||||
}
|
}
|
||||||
Flux<Void> commit = Flux.empty();
|
Flux<Void> commit = Flux.empty();
|
||||||
for (Supplier<? extends Mono<Void>> actions : this.commitActions) {
|
for (Supplier<? extends Mono<Void>> action : this.commitActions) {
|
||||||
commit = commit.concatWith(actions.get());
|
commit = commit.concatWith(action.get());
|
||||||
}
|
}
|
||||||
return commit.then();
|
return commit.then();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue