Mercurial > 510Connectbot
diff src/ch/ethz/ssh2/transport/TransportManager.java @ 330:6740870cf268 ganymed
fix java formatting
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 31 Jul 2014 12:59:08 -0700 |
parents | fe127b3c4b88 |
children | d835e842d158 |
line wrap: on
line diff
--- a/src/ch/ethz/ssh2/transport/TransportManager.java Thu Jul 31 12:51:42 2014 -0700 +++ b/src/ch/ethz/ssh2/transport/TransportManager.java Thu Jul 31 12:59:08 2014 -0700 @@ -171,6 +171,7 @@ } catch (IOException ignore) { } + // OK, whoever tried to send data, should now agree that // there is no point in further waiting =) // It is safe now to acquire the semaphore. @@ -192,9 +193,11 @@ catch (IOException ignore) { } } + connectionClosed = true; reasonClosedCause = cause; } + connectionSemaphore.notifyAll(); }