Mercurial > hg > Applications > TreeVNC
changeset 245:1819e9c5d0cd
stop receiverTask in move new parent node by lost parent.
author | one@firefly.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Thu, 16 Oct 2014 18:38:39 +0900 |
parents | 8cc07511b1d5 |
children | 5a09805898d2 |
files | src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java src/main/java/jp/ac/u_ryukyu/treevnc/TreeVncCommand.java |
diffstat | 2 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java Thu Oct 16 11:03:28 2014 +0900 +++ b/src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java Thu Oct 16 18:38:39 2014 +0900 @@ -85,7 +85,6 @@ /** * handle new client accept * it also handle TreeVNC Command - * @param acceptThread * @param newCli * @param os * @param is
--- a/src/main/java/jp/ac/u_ryukyu/treevnc/TreeVncCommand.java Thu Oct 16 11:03:28 2014 +0900 +++ b/src/main/java/jp/ac/u_ryukyu/treevnc/TreeVncCommand.java Thu Oct 16 18:38:39 2014 +0900 @@ -96,6 +96,7 @@ if (rfb.isTreeManager()) { return; // we don't have parent } + rfb.stopReceiverTask(); rfb.setId(id); rfb.setMyAddress(myHostName); rfb.setLeader(leader);