Matt Kusnierz created SSHD-505:
----------------------------------

             Summary: 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


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)

Reply via email to