mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-31 15:53:09 +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()
|
||||
if self.connection:
|
||||
display.display('closing the connection', log_only=True)
|
||||
self.close()
|
||||
self.connection.close()
|
||||
except:
|
||||
pass
|
||||
finally:
|
||||
|
||||
Reference in New Issue
Block a user