Skip to content

fix(http): Finish transaction on drop #727

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

Merged
merged 1 commit into from
Jan 29, 2025
Merged

Conversation

Dav1dde
Copy link
Member

@Dav1dde Dav1dde commented Jan 28, 2025

If the future gets dropped (panic or other reasons), the transaction is never finished.

This change makes sure the future always finishes the transaction and restores the previous context.

@Dav1dde Dav1dde force-pushed the dav1d/tower-service-drop branch from b381535 to 36f885c Compare January 28, 2025 15:51
@Dav1dde Dav1dde requested a review from a team January 28, 2025 15:51
@Dav1dde Dav1dde force-pushed the dav1d/tower-service-drop branch from 36f885c to 53024f4 Compare January 28, 2025 15:52
@Swatinem Swatinem merged commit 19bd899 into master Jan 29, 2025
14 checks passed
@Swatinem Swatinem deleted the dav1d/tower-service-drop branch January 29, 2025 08:10
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.

2 participants