Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
_thread.start_new_thread: allocate/free thread bootstate using raw me…
…mory allocator When new thread is starting, but Python is finalizing, PyMem_Free can't be called on new thread bootstate, because this created thread doesn't own the GIL. We should use raw memory allocator to allocate/free bootstate to avoid crashes/other unexpected behaviour.
- Loading branch information