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 AttributeError in BinaryReader Destructor Due to Non-Existent _prepare_thread Attribute #412

Closed
wants to merge 2 commits into from

Conversation

Kidand
Copy link

@Kidand Kidand commented Nov 7, 2024

This pull request resolves an issue in the BinaryReader class where executing the destructor (__del__ method) attempts to access a non-existent attribute _prepare_thread, resulting in an AttributeError. This change ensures that the destructor checks for the existence of _prepare_thread before attempting to access it, thereby preventing errors during object cleanup.

…thod) of the BinaryReader class attempts to access a non-existent attribute _prepare_thread, resulting in an AttributeError exception.
@Kidand Kidand requested a review from tchaton as a code owner November 7, 2024 02:54
@Kidand Kidand closed this Nov 7, 2024
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