summaryrefslogtreecommitdiff
path: root/voctocore/lib/tcpsingleconnection.py
diff options
context:
space:
mode:
Diffstat (limited to 'voctocore/lib/tcpsingleconnection.py')
-rw-r--r--voctocore/lib/tcpsingleconnection.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/voctocore/lib/tcpsingleconnection.py b/voctocore/lib/tcpsingleconnection.py
index 3f589a7..62a4b1f 100644
--- a/voctocore/lib/tcpsingleconnection.py
+++ b/voctocore/lib/tcpsingleconnection.py
@@ -41,5 +41,6 @@ class TCPSingleConnection(object):
return True
def close_connection(self):
+ self.currentConnection.close()
self.currentConnection = None
self.log.info('Connection closed')