adubrouski opened a new pull request, #938:
URL: https://github.com/apache/mina-sshd/pull/938

   Fixes #937.
   
   - `AbstractSession.removeKexListener()` now removes the listener; it used to 
call `addKexListener()`.
   - `AbstractChannel` keeps the `KexListener` it registers in `init()` and 
removes it in `preClose()`, next to clearing the channel listeners, so a closed 
channel is no longer reachable from its session.
   
   `ChannelExecTest.closedChannelIsNotRetainedBySession` runs one exec channel 
on a session that stays open and checks that the closed channel can be 
garbage-collected. It fails without the fix.
   
   Ran `ChannelExecTest`, `KeyReExchangeTest`, `KexTest`, `StrictKexTest`, 
`WindowAdjustTest` and the `Window*Test` classes: all pass. Checkstyle and the 
formatter report no changes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to