Mercurial > hg > Applications > TightVNC_orginal
diff src/viewer_swing/java/com/glavsoft/viewer/Viewer.java @ 42:fe38611c4b2b
change the location of the call cleanUpSession().
author | one |
---|---|
date | Thu, 25 Oct 2012 19:38:20 +0900 |
parents | 3c072f2f39bb |
children | 6687aa9dd55e |
line wrap: on
line diff
--- a/src/viewer_swing/java/com/glavsoft/viewer/Viewer.java Mon Oct 22 17:51:02 2012 +0900 +++ b/src/viewer_swing/java/com/glavsoft/viewer/Viewer.java Thu Oct 25 19:38:20 2012 +0900 @@ -296,7 +296,7 @@ break; } logger.info("Connected"); - + System.out.println("-------------"+connectionParams.hostName); try { workingSocket.setTcpNoDelay(true); // disable Nagle algorithm Reader reader = new Reader(workingSocket.getInputStream()); @@ -684,4 +684,7 @@ return connectionParams.portNumber; } + public void stopTask() { + workingProtocol.cleanUpSession(); + } }