Mercurial > hg > Members > riono > TreeVNC_ja_comment
changeset 507:58c8cccacb27
fix requestupdaterectangle in reciverTask
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 30 Jan 2019 21:50:51 +0900 |
parents | 79d614cd91c7 |
children | c793e578cdc1 |
files | src/main/java/com/glavsoft/rfb/protocol/ReceiverTask.java |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/com/glavsoft/rfb/protocol/ReceiverTask.java Sat Jan 26 03:14:14 2019 +0900 +++ b/src/main/java/com/glavsoft/rfb/protocol/ReceiverTask.java Wed Jan 30 21:50:51 2019 +0900 @@ -109,7 +109,8 @@ @Override public void run() { isRunning = true; - fullscreenFbUpdateIncrementalRequest.sendFullScreenRequest(context); + if (fullscreenFbUpdateIncrementalRequest!=null) + fullscreenFbUpdateIncrementalRequest.sendFullScreenRequest(context); while (isRunning) { try { reader.available();