mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-18 14:51:09 +00:00
fixes type that prevents socket clean up from being called (#21568)
This commit is contained in:
@@ -222,7 +222,7 @@ class Server():
|
||||
# the socket file so it can be recreated
|
||||
end_time = datetime.datetime.now()
|
||||
delta = end_time - self._start_time
|
||||
dsplay.v('shutting down connection, connection was active for %s secs' % delta, self.play_context.remote_addr)
|
||||
display.v('shutting down connection, connection was active for %s secs' % delta, self.play_context.remote_addr)
|
||||
try:
|
||||
self.conn.close()
|
||||
self.socket.close()
|
||||
|
||||
Reference in New Issue
Block a user