mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fixes type that prevents socket clean up from being called (#21568)
This commit is contained in:
parent
b0abbb5f8b
commit
eaba067de9
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ class Server():
|
||||||
# the socket file so it can be recreated
|
# the socket file so it can be recreated
|
||||||
end_time = datetime.datetime.now()
|
end_time = datetime.datetime.now()
|
||||||
delta = end_time - self._start_time
|
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:
|
try:
|
||||||
self.conn.close()
|
self.conn.close()
|
||||||
self.socket.close()
|
self.socket.close()
|
||||||
|
|
Loading…
Reference in a new issue