| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| } | ||
| else | ||
| { | ||
| PyGILState_Release(state); |
There was a problem hiding this comment.
This change seems unrelated, why did you add this?
Sorry, something went wrong.
There was a problem hiding this comment.
Without this Py_Finalize called when Python finally shuts down hangs because it can't acquire GIL.
Sorry, something went wrong.
|
I debugged the test failures, and they appear to be caused by gaps in domain reload support: when .NET objects that Python sees get severed from CLR, subsequent calls to their tp_dealloc fail because GetManagedObject returns null. |
Sorry, something went wrong.
…r Mono) is unloaded before Python stops
|
Found a way to solve the same problem and more without handling ProcessExit |
Sorry, something went wrong.
|
Or maybe not. Seems to still be essential for #1134 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This avoids segfault when CLR (in particular Mono) is unloaded before Python stops.
What does this implement/fix? Explain your changes.
Does this close any currently open issues?
This is (at least one of) the reason of CI test crashes in #1134