Skip to content

Commit edcd20a

Browse files
eliwepkittenis
authored andcommittedJan 15, 2019
Do not call session_disconnect on session deallocation - resolves #55
1 parent 3991bb3 commit edcd20a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎ssh2/session.pyx

-2
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ cdef class Session:
6060
def __dealloc__(self):
6161
if self._session is not NULL:
6262
with nogil:
63-
c_ssh2.libssh2_session_disconnect(
64-
self._session, b"end")
6563
c_ssh2.libssh2_session_free(self._session)
6664
self._session = NULL
6765

0 commit comments

Comments
 (0)
Please sign in to comment.