commit | b53c3bf050d4ea7693f53be01b5d3ea85055c01d | [log] [tgz] |
---|---|---|
author | Pierre Ossman <ossman@cendio.se> | Thu Mar 22 16:01:44 2018 +0100 |
committer | Pierre Ossman <ossman@cendio.se> | Wed Mar 28 12:46:11 2018 +0200 |
tree | ef5bd2132d286505d4bd23cb026f1b9fec1196e4 | |
parent | 74385d38902a54b06af10c1bc6fc0d322b0fabb9 [diff] [blame] |
Avoid checking updates when desktop is stopped No need to run all the update machinery when there is no client connected. This commit also cleans up the stop handling a bit by moving it to its own method.
diff --git a/common/rfb/VNCServerST.h b/common/rfb/VNCServerST.h index e00a1f7..584c48c 100644 --- a/common/rfb/VNCServerST.h +++ b/common/rfb/VNCServerST.h
@@ -195,6 +195,7 @@ // - Internal methods void startDesktop(); + void stopDesktop(); static LogWriter connectionsLog; Blacklist blacklist;