Skip to content

PyObject instances surviving Runtime shutdown should be finalized when Runtime restarts #1112

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

Closed
lostmsu opened this issue Apr 13, 2020 · 0 comments

Comments

@lostmsu
Copy link
Member

lostmsu commented Apr 13, 2020

As was noted in #1074, since it is possible to Py_DecRef alive objects created before Py_Finalize after Py_Initialize is called again, we should properly Dispose PyObject instances, that were found by .NET garbage collector between Py_Finalize and the following Py_Initialize.

@filmor filmor closed this as completed Jun 27, 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

No branches or pull requests

2 participants