From 08f7fce028b6ff7d15067cd5912e8e9f9f0220b5 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 18 Dec 2017 03:23:18 +0100 Subject: [PATCH] exit all the threads on termination --- platypush/pusher/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/platypush/pusher/__init__.py b/platypush/pusher/__init__.py index 0e0c31d7b..6b3664067 100755 --- a/platypush/pusher/__init__.py +++ b/platypush/pusher/__init__.py @@ -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()