• Utkarsh Ayachit's avatar
    avoid segfault during app exit. · 101da2ed
    Utkarsh Ayachit authored
    Since in applications using Python, Python may get finalized before all
    VTK objects are released, we may encounter segfaults during exit. This
    fixes that issue by ensuring that Python interpreter is initialized
    before calling `Py_XDECREF`.
vtkPythonAlgorithm.cxx 9.01 KB