Skip to content

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.

2 participants