summaryrefslogtreecommitdiff
path: root/voctocore/lib/tcpmulticonnection.py
diff options
context:
space:
mode:
authorPeter <MaZderMind@users.noreply.github.com>2016-12-10 18:07:25 +0100
committerGitHub <noreply@github.com>2016-12-10 18:07:25 +0100
commitf3fe96170fc48e0bb8e67716c36a11a6bad85fb6 (patch)
tree7e3fae4c7500f7fc10be3f4332b27714a34fd8d9 /voctocore/lib/tcpmulticonnection.py
parentf4423181b773ed081446cb8cc917bb67545c76ae (diff)
parentb07239f8fe7a50939c52fff7fdb690861dfde916 (diff)
Merge pull request #118 from FOSDEM/fosdem
fix for #117 (voctomix leaking file descriptors)
Diffstat (limited to 'voctocore/lib/tcpmulticonnection.py')
-rw-r--r--voctocore/lib/tcpmulticonnection.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/voctocore/lib/tcpmulticonnection.py b/voctocore/lib/tcpmulticonnection.py
index ac228a3..e7ab700 100644
--- a/voctocore/lib/tcpmulticonnection.py
+++ b/voctocore/lib/tcpmulticonnection.py
@@ -43,6 +43,7 @@ class TCPMultiConnection(object):
def close_connection(self, conn):
if conn in self.currentConnections:
+ conn.close()
del(self.currentConnections[conn])
self.log.info('Now %u Receiver connected',
len(self.currentConnections))