Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cancel allocator after borrower is canceled. #256

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

qnnn
Copy link

@qnnn qnnn commented Dec 13, 2024

I recently raised an issue (#3531) in reactor-netty related to this PR. I found that in reactor-pool, when a Borrower is canceled, the allocator is not canceled as well. It seems appropriate to cancel the allocator afterward. Therefore, I’m attempting to submit this PR. If there are any problems, could you please provide some guidance?

Modification:
Replace the unit test allocatedReleasedIfBorrowerCancelled with cancelAllocatorIfBorrowerCancelled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant