diff options
author | Christoph Kluenter <ckluente@thoughtworks.com> | 2016-03-16 17:03:52 +0100 |
---|---|---|
committer | Christoph Kluenter <ckluente@thoughtworks.com> | 2016-03-16 17:12:24 +0100 |
commit | 3a317f04bfa55698a7064ea3d5c5a1b4cc5ead36 (patch) | |
tree | eaec05ba04b6fe009acc8304779997128283fa41 /src/leap/common/events/auth.py | |
parent | ecf025e3d6065c9729ac72489efcdc0218fdffe1 (diff) |
[bug] close TxAuthenticator properly
otherwise the context.term() does not return
Diffstat (limited to 'src/leap/common/events/auth.py')
-rw-r--r-- | src/leap/common/events/auth.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/leap/common/events/auth.py b/src/leap/common/events/auth.py index 5b71f2d..db217ca 100644 --- a/src/leap/common/events/auth.py +++ b/src/leap/common/events/auth.py @@ -76,6 +76,10 @@ class TxAuthenticator(ZmqConnection): user_id, metadata] self.send(reply) + def shutdown(self): + if self.factory: + super(TxAuthenticator, self).shutdown() + class TxAuthenticationRequest(ZmqConnection): |