Close up that loop

This commit is contained in:
Luke Murphy 2020-07-22 19:00:09 +02:00
parent 607a7b4bd6
commit 4f975485fc
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -96,4 +96,7 @@ async def main():
if __name__ == "__main__":
loop.run_until_complete(main())
try:
loop.run_until_complete(main())
finally:
loop.close()