Blender Git Commit Log
Git Commits -> Revision 0467ff4
Revision 0467ff4 by Sybren A. Stüvel (master) September 10, 2021, 12:58 (GMT) |
Python: extra check on `BPY_thread_save()` to ensure proper GIL handling Use `_PyThreadState_UncheckedGet()` to check that the current thread is tracked by Python before checking whether it has the GIL. The latter will abort when the former is false. |
Commit Details:
Full Hash: 0467ff4053440982b70866a2868d8664c4ddc5a6
Parent Commit: ca39aff
Lines Changed: +6, -3
1 Modified Path:
/source/blender/python/generic/bpy_threads.c (+6, -3) (Diff)