--- a/mercurial/sshpeer.py Mon Jan 11 13:33:00 2021 +0100 +++ b/mercurial/sshpeer.py Mon Feb 15 13:59:36 2021 -0500 @@ -434,7 +434,7 @@ return True def close(self): - pass + self._cleanup() # End of ipeerconnection interface.