diff options
author | Sam Gross <colesbury@gmail.com> | 2024-05-02 17:41:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-02 17:41:15 (GMT) |
commit | 83c51da6cebdced80ebc59de70e8844244de7298 (patch) | |
tree | c4bfada4420524c806f0a85c9901d4696e912790 /Python/mysnprintf.c | |
parent | b28a3339e4c63ea3a801dba9bbbc6af5af42c3a0 (diff) | |
download | cpython-83c51da6cebdced80ebc59de70e8844244de7298.zip cpython-83c51da6cebdced80ebc59de70e8844244de7298.tar.gz cpython-83c51da6cebdced80ebc59de70e8844244de7298.tar.bz2 |
gh-118413: Fix test_release_task_refs on free-threaded build (#118494)
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.
Diffstat (limited to 'Python/mysnprintf.c')
0 files changed, 0 insertions, 0 deletions