fix for that unhandled (after program exit) KeyboardInterrupt

This commit is contained in:
Miroslav Stampar 2011-05-30 15:13:47 +00:00
parent b79dae6e95
commit 23cec012d1

View File

@ -126,5 +126,8 @@ def main():
kb.threadContinue = False kb.threadContinue = False
kb.threadException = True kb.threadException = True
# just in case handling of leftover threads
raise SystemExit
if __name__ == "__main__": if __name__ == "__main__":
main() main()