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

Windows: if shutdown timeout expires the background thread is not closed properly. #567

Closed
smibe opened this issue Jun 30, 2021 · 1 comment

Comments

@smibe
Copy link

smibe commented Jun 30, 2021

Description
On Windows WinHttp is used. WinhttpReceiveResponse has a default timeout of about 30 seconds. If we are running into the timoeout but in the meantime the application is closed the background thread is still running and the application hangs.

When does the problem happen
WinhttpReceiveResponse or any other WinHttp function is running into a timeout.

Environment

Windows (all versionns)
MSVC 19
SENTRY_BACKEND=none

@Swatinem
Copy link
Member

Swatinem commented Jul 9, 2021

#571 was merged and released, which should take care of this. Thanks @smibe

@Swatinem Swatinem closed this as completed Jul 9, 2021
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

No branches or pull requests

2 participants