mina-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r1367483 - /mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/SshServer.java
Date Tue, 31 Jul 2012 10:42:17 GMT
Author: gnodet
Date: Tue Jul 31 10:42:17 2012
New Revision: 1367483

URL: http://svn.apache.org/viewvc?rev=1367483&view=rev
Log:
[SSHD-179] All threads are not stopped synchronously when shutting down the server

Modified:
    mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/SshServer.java

Modified: mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/SshServer.java
URL: http://svn.apache.org/viewvc/mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/SshServer.java?rev=1367483&r1=1367482&r2=1367483&view=diff
==============================================================================
--- mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/SshServer.java (original)
+++ mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/SshServer.java Tue Jul 31 10:42:17
2012
@@ -404,7 +404,7 @@ public class SshServer extends AbstractF
             latch.await();
         }
         if (acceptor != null) {
-            acceptor.dispose();
+            acceptor.dispose(true);
         }
         acceptor = null;
         if (shutdownExecutor && executor != null) {



Mime
View raw message