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

Fix leaked promise in NIOTypedApplicationProtocolNegotiationHandler #2489

Merged
merged 1 commit into from Aug 2, 2023

Conversation

FranzBusch
Copy link
Contributor

Motivation

We sometimes leaked a promise in the NIOTypedApplicationProtocolNegotiationHandler when the handler was created and immediately deinited.

Modification

This PR makes sure we always complete the negotiation promise of the handler.

Result

No more leaked promises.

@FranzBusch FranzBusch requested a review from glbrntt August 1, 2023 14:27
@Lukasa Lukasa added the patch-version-bump-only For PRs that when merged will only cause a bump of the patch version, ie. 1.0.x -> 1.0.(x+1) label Aug 2, 2023
# Motivation
We sometimes leaked a promise in the `NIOTypedApplicationProtocolNegotiationHandler` when the handler was created and immediately deinited.

# Modification
This PR makes sure we always complete the negotiation promise of the handler.

# Result
No more leaked promises.
@FranzBusch FranzBusch force-pushed the fb-protocol-negotation-promise-leak branch from b979d59 to 2c74d79 Compare August 2, 2023 09:41
@FranzBusch FranzBusch requested a review from Lukasa August 2, 2023 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch-version-bump-only For PRs that when merged will only cause a bump of the patch version, ie. 1.0.x -> 1.0.(x+1)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants