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:
Andrew Hamilton 2016-11-11 00:07:05 +01:00
parent d3078a77c7
commit f548432d8e
2 changed files with 4 additions and 4 deletions

2
vigil
View file

@ -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)