Skip to content

Close the __data__ attribute before reassigning it#367

Merged
erocarrera merged 1 commit intoerocarrera:masterfrom
adang1345:master
Feb 21, 2023
Merged

Close the __data__ attribute before reassigning it#367
erocarrera merged 1 commit intoerocarrera:masterfrom
adang1345:master

Conversation

@adang1345
Copy link
Copy Markdown
Contributor

This fixes #356 where calling generate_checksum() or set_data_bytes() will leave behind a lock on the PE file if we're running PyPy.

@erocarrera erocarrera merged commit 9f22b52 into erocarrera:master Feb 21, 2023
@erocarrera
Copy link
Copy Markdown
Owner

Thank you!

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.

generate_checksum() does not close __data__ before reassigning it

2 participants