Mercurial > hg > Applications > TreeVNC
changeset 161:e997deb54314
is os isn't closed in NEW_NODE command.
author | oc |
---|---|
date | Mon, 16 Jun 2014 20:09:38 +0900 |
parents | b9052986bbb3 |
children | 33c7a08c90e7 |
files | src/main/java/jp/ac/u_ryukyu/treevnc/TreeVncCommandChannelListener.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/jp/ac/u_ryukyu/treevnc/TreeVncCommandChannelListener.java Mon Jun 16 19:20:05 2014 +0900 +++ b/src/main/java/jp/ac/u_ryukyu/treevnc/TreeVncCommandChannelListener.java Mon Jun 16 20:09:38 2014 +0900 @@ -72,7 +72,7 @@ TreeVncCommand cmd = null; try { cmd = initialConnection(rfb, os, is, newCli); - if (cmd!=null) { + if (cmd!=null && cmd.getCommand()!=TreeCommand.NEW_NODE) { // TreeVNC command is processed newCli.close(); return cmd;