| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| catch.cpp | ||
| test_interpreter.cpp | ||
| test_interpreter.py |
Py_Finalize could potentially invoke code that calls `get_internals()`, which could create a new internals object if one didn't exist. `finalize_interpreter()` didn't catch this because it only used the pre-finalize interpreter pointer status; if this happens, it results in the internals pointer not being properly destroyed with the interpreter, which leaks, and also causes a `get_internals()` under a future interpreter to return an internals object that is wrong in various ways.
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| CMakeLists.txt | Loading commit data... | |
| catch.cpp | Loading commit data... | |
| test_interpreter.cpp | Loading commit data... | |
| test_interpreter.py | Loading commit data... |