Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythongh-118413: Fix test_release_task_refs on free-threaded build
The `time.sleep()` call should happen before the GC to give the worker threads time to clean-up their remaining references to objs. Additionally, use `support.gc_collect()` instead of `gc.collect()` just in case the extra GC calls matter.
- Loading branch information