Private Attributes | |
PyGILState_STATE | _state |
You need to create a VPythonThreadLocker instance at the top of every function calling Python! (If you have a function which calls another function, you only need to create the instance in the top function of course. I don't know what happens if you try to ensure two PyGILStates..).