Merge branch '5.1.x'

This commit is contained in:
Rossen Stoyanchev
2019-04-02 11:05:30 -04:00
2 changed files with 38 additions and 2 deletions

View File

@@ -394,7 +394,12 @@ public class ChannelSendOperator<T> extends Mono<Void> implements Scannable {
@Override
public void onError(Throwable ex) {
this.completionSubscriber.onError(ex);
try {
this.completionSubscriber.onError(ex);
}
finally {
this.writeBarrier.releaseCachedItem();
}
}
@Override