summaryrefslogtreecommitdiff
path: root/src/leap/common/events/zmq_components.py
diff options
context:
space:
mode:
authorChristoph Kluenter <ckluente@thoughtworks.com>2016-03-16 17:03:52 +0100
committerChristoph Kluenter <ckluente@thoughtworks.com>2016-03-16 17:12:24 +0100
commit3a317f04bfa55698a7064ea3d5c5a1b4cc5ead36 (patch)
treeeaec05ba04b6fe009acc8304779997128283fa41 /src/leap/common/events/zmq_components.py
parentecf025e3d6065c9729ac72489efcdc0218fdffe1 (diff)
[bug] close TxAuthenticator properly
otherwise the context.term() does not return
Diffstat (limited to 'src/leap/common/events/zmq_components.py')
-rw-r--r--src/leap/common/events/zmq_components.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/leap/common/events/zmq_components.py b/src/leap/common/events/zmq_components.py
index 8919cd9..c533a74 100644
--- a/src/leap/common/events/zmq_components.py
+++ b/src/leap/common/events/zmq_components.py
@@ -158,6 +158,7 @@ class TxZmqComponent(object):
public_keys_dir = os.path.join(self._config_prefix, PUBLIC_KEYS_PREFIX)
auth_req.configure_curve(domain="*", location=public_keys_dir)
auth_req.shutdown()
+ TxZmqComponent._auth.shutdown()
# This has to be set before binding the socket, that's why this method
# has to be called before addEndpoints()