Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-118413: Fix test_release_task_refs on free-threaded build #118494

Merged
merged 1 commit into from
May 2, 2024

Commits on May 1, 2024

  1. 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.
    colesbury committed May 1, 2024
    Configuration menu
    Copy the full SHA
    737b78b View commit details
    Browse the repository at this point in the history