On exit, stop main loop
This commit is contained in:
parent
f927d5ab0a
commit
f8884a53ec
1 changed files with 2 additions and 1 deletions
|
|
@ -85,6 +85,7 @@ if __name__ == "__main__":
|
||||||
logger.exception("\033[1;31mUnable to reload the prompt due to errors.\033[0"
|
logger.exception("\033[1;31mUnable to reload the prompt due to errors.\033[0"
|
||||||
"m Fix them before trying to reload the prompt.")
|
"m Fix them before trying to reload the prompt.")
|
||||||
|
|
||||||
print ("\nWaiting for other threads shuts down...")
|
context.quit()
|
||||||
|
print("\nWaiting for other threads shuts down...")
|
||||||
|
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue