Stop warning messages appearing on shutdown.
Until I learn to use asyncio properly this hack will do. I may keep it anyway if there are no ill effects.
This commit is contained in:
parent
d3078a77c7
commit
f548432d8e
2 changed files with 4 additions and 4 deletions
2
vigil
2
vigil
|
|
@ -1017,4 +1017,4 @@ if __name__ == "__main__":
|
|||
with chdir(root_path): # FIX: Don't change directory if possible.
|
||||
loop = asyncio.get_event_loop()
|
||||
main(root_path, loop, worker_count, is_sandboxed, editor_command)
|
||||
loop.close()
|
||||
os._exit(0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue