Improve cancel handling in AbstractListenerReadPublisher
Closes gh-30393
This commit is contained in:
@@ -104,6 +104,9 @@ class ListenerReadPublisherTests {
|
||||
|
||||
@Override
|
||||
protected DataBuffer read() {
|
||||
if (this.discardCalls != 0) {
|
||||
return null;
|
||||
}
|
||||
this.readCalls++;
|
||||
return mock();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user