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

Fixdeadlock #58

Merged
merged 3 commits into from
Sep 24, 2024
Merged

Fixdeadlock #58

merged 3 commits into from
Sep 24, 2024

Conversation

rhpvorderman
Copy link
Contributor

While True and self.running checks are augmented by a check that checks if the thread that opened the threaded file is still alive. If not, it can never properly call to close.

Checklist

  • Pull request details were added to CHANGELOG.rst
  • Documentation was updated (if needed)

@y5c4l3 I liked your solution, but this solution is more minimal and also works when the error is thrown when the object is already been written to (and the threads are started). I reverted your solution and my initial solution using git revert, so you will still get commit credit. Thanks for helping to tackle this problem.

@rhpvorderman rhpvorderman merged commit b0728bb into develop Sep 24, 2024
21 checks passed
@rhpvorderman rhpvorderman deleted the fixdeadlock branch September 24, 2024 06:45
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