• Kyle Lutz's avatar
    Fix segfault in vtkMatplotlibMathTextUtilities destructor · 169c9bf5
    Kyle Lutz authored
    Several of the ParaView Python tests fail with a segfault in the
    destructor of the vtkMatplotlibMathTextUtilities when it calls
    Py_Finalize(). This changes the destructor to only call Py_Finalize()
    if vtkMatplotlibMathTextUtilities itself called Py_Initialize().
    
    Change-Id: I7fab0273a65c6e6784f1acf4266dfc53594d5fca
    169c9bf5
vtkMatplotlibMathTextUtilities.cxx 33.7 KB