Draft: Add missing GIL lock to SetMathTextFont
The SetMathTextFont()
method of vtkMatplotlibMathTextUtilities was missing missing a call to PyGILState_Ensure()
on builds with VTK_PYTHON_FULL_THREADSAFE
before the import of the matplotlib module. This resulted in a segfault in Paraview when matplotlib was used to render latex fonts.
Closes #18733 (closed)
backport: release
backport: paraview/release
Edited by David Gobbi