mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Calling connection.close() instead of self.close() to actually close the connection. (#26257)
This commit is contained in:
committed by
Ganesh Nalawade
parent
bc4ff8aed9
commit
76cc19d0f2
@@ -202,7 +202,7 @@ class Server():
|
|||||||
self.socket.close()
|
self.socket.close()
|
||||||
if self.connection:
|
if self.connection:
|
||||||
display.display('closing the connection', log_only=True)
|
display.display('closing the connection', log_only=True)
|
||||||
self.close()
|
self.connection.close()
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
finally:
|
finally:
|
||||||
|
|||||||
Reference in New Issue
Block a user