Skip to content
  • 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`.
    101da2ed