Skip to content

Guard against using incorrect thread state

Chris Harris requested to merge cjh1/vtk:gil_threadstate_fix into master

Ensure that if we are in a multithreaded environment we use PyGILState_Ensure(), rather than swapping in a saved thread state that may be associated with another thread.

Merge request reports