The Wayback Machine - https://web.archive.org/web/20220930073147/https://github.com/pythonnet/pythonnet/pull/1940
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

Fixed use of the process handle after Process instance is garbage collected #1940

Merged
merged 1 commit into from Sep 16, 2022

Conversation

lostmsu
Copy link
Member

@lostmsu lostmsu commented Sep 15, 2022

What does this implement/fix? Explain your changes.

Current process handle can be closed before we try to enumerate process modules because we do not keep an instance of Process alive.

Does this close any currently open issues?

fixes #1939

Any other comments?

credits to @sdao for discovering the bug and suggesting a fix

@filmor filmor merged commit 4241493 into pythonnet:release Sep 16, 2022
17 checks passed
@lostmsu lostmsu deleted the bugs/1939 branch Sep 16, 2022
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.

None yet

2 participants