Make it so ctrl-c actually quits the CLI version

This commit is contained in:
Micah Lee 2017-04-17 19:22:40 -07:00
parent 6b5dfe62c0
commit 593c9e9afe

View File

@ -176,7 +176,6 @@ def main(cwd=None):
# Wait for app to close # Wait for app to close
while t.is_alive(): while t.is_alive():
t.join()
# Allow KeyboardInterrupt exception to be handled with threads # Allow KeyboardInterrupt exception to be handled with threads
# https://stackoverflow.com/questions/3788208/python-threading-ignores-keyboardinterrupt-exception # https://stackoverflow.com/questions/3788208/python-threading-ignores-keyboardinterrupt-exception
time.sleep(100) time.sleep(100)