1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Calling connection.close() instead of self.close() to actually close the connection. (#26257)

This commit is contained in:
James Mighion 2017-06-29 19:16:45 -07:00 committed by Ganesh Nalawade
parent bc4ff8aed9
commit 76cc19d0f2

View file

@ -202,7 +202,7 @@ class Server():
self.socket.close()
if self.connection:
display.display('closing the connection', log_only=True)
self.close()
self.connection.close()
except:
pass
finally: