remove time.sleep() used for daemon threads

This commit is contained in:
ThomasV 2015-03-13 23:10:54 +01:00
parent 72688a5cfa
commit c3cba78659
1 changed files with 0 additions and 4 deletions

View File

@ -250,9 +250,6 @@ if __name__ == '__main__':
if network:
network.stop()
# we use daemon threads, their termination is enforced.
# this sleep command gives them time to terminate cleanly.
time.sleep(0.3)
sys.exit(0)
if cmd == 'daemon':
@ -505,5 +502,4 @@ if __name__ == '__main__':
else:
run_command(cmd, password, args)
time.sleep(0.1)
sys.exit(0)