Intermittent "event Loop Stopped Before Future Completed."
I have been tearing my hair out at this issue The code in question is part of an Open Source project here: aiosmtpd (my fork of the actual FOSS project, here) The file with the pro
Solution 1:
Barring a bug in asyncio, the issue is likely caused by a call to loop.stop()
hidden somewhere in the code base. You probably want to remove or disable those, as they are fundamentally incompatible with run_until_complete
, as well as with the more modern asyncio.run
.
Post a Comment for "Intermittent "event Loop Stopped Before Future Completed.""