Closed harmic closed 1 year ago
Fix for ssh2-rs issue #273.
If EAGAIN occurs, return that without clearing self.inner. If any other error occurs, or no error, clear self.inner so that Drop does not try to access the underlying libssh2 handle again.
self.inner
This looks good, I just want to re-run the macOS tests to see what's going on there.
I still have no idea what is going wrong, but it feels like a fragile test.
Fix for ssh2-rs issue #273.
If EAGAIN occurs, return that without clearing
self.inner
. If any other error occurs, or no error, clearself.inner
so that Drop does not try to access the underlying libssh2 handle again.