Replies: 1 comment
-
As far as I get you use pybind11 to embed python into your application. If this is the case you should use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
In my project i use embedded python and this uses a python wrapper which is made with pybind11.
The Application needs to start the embedded python interpreter several times and also finishes it nicely with Py_FinalizeEx()
Now the problem is:
I believe that the problem is in
inline internals **&get_internals_pp(){
static internals **internals_pp = nullptr;
}
I could not find any mechanism, which can reset this structure. This file should be reset at the same time when i call Py_FinalzeEx()
if that exist, please let me know!
Beta Was this translation helpful? Give feedback.
All reactions