Skip to content

Commit

Permalink
Calling connection.close() instead of self.close() to actually close …
Browse files Browse the repository at this point in the history
…the connection. (ansible#26257)
  • Loading branch information
jmighion authored and ganeshrn committed Jun 30, 2017
1 parent bc4ff8a commit 76cc19d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ansible-connection
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 76cc19d

Please sign in to comment.