forked from platypush/platypush
exit all the threads on termination
This commit is contained in:
parent
18a5902ac4
commit
08f7fce028
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ def pusher(target, action, backend=None, config=None, **kwargs):
|
|||
b = backends[backend]
|
||||
b.start()
|
||||
b.send_request(req)
|
||||
os._exit(0)
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser()
|
||||
|
|
Loading…
Reference in a new issue