• Mathieu Westphal's avatar
    Adding a NoRelease Option to GilEnsrurer and use it · 7c8572e0
    Mathieu Westphal authored
    Some python calls take care of realeasing gil (eg. Py_Finalize), some when using gilEnsurer before this call, it is needed to only Ensure gil without releasing when going out of scope, has it has already been released. If not python will output a warning.
    So a noRelease parameter have been added to gilEnsurer and this parameter have been used where it was necessary.
vtkPythonInterpreter.cxx 12.3 KB