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: Do not shut down winhttp transport on flush #763

Merged
merged 1 commit into from
Oct 17, 2022
Merged

Conversation

Swatinem
Copy link
Member

This seems to have been a typo all along.

Fixes #762

This seems to have been a typo all along.
@@ -111,7 +111,7 @@ static int
sentry__winhttp_transport_flush(uint64_t timeout, void *transport_state)
{
sentry_bgworker_t *bgworker = (sentry_bgworker_t *)transport_state;
return sentry__bgworker_shutdown(bgworker, timeout);
return sentry__bgworker_flush(bgworker, timeout);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I think with this, we should create a release. The Android emulator-start times out again. I will provide a ci pr.

@Swatinem Swatinem merged commit 736dfc5 into master Oct 17, 2022
@Swatinem Swatinem deleted the fix/winhttp-flush branch October 17, 2022 09:19
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.

with winhttp transport, sentry_flush call kills background worker
2 participants