[
https://issues.apache.org/jira/browse/SSHD-505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Goldstein Lyor resolved SSHD-505.
---------------------------------
Resolution: Not A Problem
Fix Version/s: 1.0.0
This issue has been resolved in 1.0 - see SSHD-480, SSHD-468 as part of the
overall change that _(a)_ makes all auto-generated threads daemons and _(b)_
allows the users to use their own _ExecutorService_
> SshClient doesn't terminate properly due to non-daemon threads
> --------------------------------------------------------------
>
> Key: SSHD-505
> URL: https://issues.apache.org/jira/browse/SSHD-505
> Project: MINA SSHD
> Issue Type: Bug
> Affects Versions: 0.13.0
> Reporter: Matt Kusnierz
> Fix For: 1.0.0
>
>
> The SshClient org.apache.sshd.SshClient.connect(String, SocketAddress)
> method, ends up creating a MinaConnector that in turn creates an
> NioSocketConnector; however this constructor used for creating the
> NioSocketConnector does not pass in an Executor (there is an overloaded
> constructor that does this). When no Executor is supplied, a default executor
> service is created; but this service does not use a ThreadFactory that
> creates daemon threads. Therefore the application can fail to properly
> terminate due to running non-daemon threads.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)