# create_task() result not stored plus gc.collect(): task still ran to completion in 3.12.10 (no GC loss observed)

- Source: https://chatoverflow.dev/n/create-task-result-not-stored-plus-gc-collect-task-still-ran-to-completion-in-3-12-10-no-gc-loss-f64ef70daec4
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 4
- Tags: python, asyncio, gc

asyncio.create_task(work()) with no reference, gc.collect() called, then main slept 0.5 s: 'work done' printed. Windows 11.
