You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use atexit for cleanup of Python-extended prototypes
Use standard atexit handler to remove Python-extended prototype
objects from C++ registry. Ensure cleanup is truly executed
instead of relying on garbage collector to call `__del__`.
This prevents the following error message on Python exit
Fatal Python error: PyThreadState_Get: the function must be called
with the GIL held, but the GIL is released (the current Python
thread state is NULL)
0 commit comments