Close up that loop
This commit is contained in:
parent
607a7b4bd6
commit
4f975485fc
@ -96,4 +96,7 @@ async def main():
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
loop.run_until_complete(main())
|
try:
|
||||||
|
loop.run_until_complete(main())
|
||||||
|
finally:
|
||||||
|
loop.close()
|
||||||
|
Loading…
Reference in New Issue
Block a user