Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythongh-116515: Clear thread-local state before tstate_delete_common…
…() (python#116517) This moves `current_fast_clear()` up so that the current thread state is `NULL` while running `tstate_delete_common()`. This doesn't fix any bugs, but it means that we are more consistent that `_PyThreadState_GET() != NULL` means that the thread is "attached".
- Loading branch information