A Heisenbug lurking in async Python
The notion of fire-and-forget is itself the problem. Even with threads, you should have them join the main thread before the program exits. Which implies you should hold strong references to them until then. Most people don&#x27;t go out of their way to do this even when they&#x27;re able to, but that&#x27;s what you&#x27;re supposed to do.