# HG changeset patch
# User innparusu
# Date 1440493441 -32400
# Node ID 638b604aa508c90d205f5204c53257029aa7cacd
# Parent b6665f7f18d124acc69fefa1977ee69bcba65eda
Add synchronized to newVNCConnection method
diff -r b6665f7f18d1 -r 638b604aa508 .idea/workspace.xml
--- a/.idea/workspace.xml Tue Aug 25 17:52:05 2015 +0900
+++ b/.idea/workspace.xml Tue Aug 25 18:04:01 2015 +0900
@@ -3,10 +3,6 @@
-
-
-
-
@@ -38,7 +34,7 @@
-
+
@@ -62,7 +58,7 @@
-
+
@@ -75,7 +71,7 @@
-
+
@@ -95,12 +91,9 @@
-
+
-
-
-
-
+
@@ -134,12 +127,9 @@
-
-
-
-
-
-
+
+
+
@@ -147,7 +137,7 @@
-
+
@@ -157,7 +147,7 @@
-
+
@@ -167,7 +157,7 @@
-
+
@@ -177,7 +167,7 @@
-
+
@@ -187,7 +177,7 @@
-
+
@@ -483,8 +473,8 @@
-
-
+
+
@@ -511,8 +501,6 @@
-
-
@@ -669,6 +657,8 @@
+
+
@@ -800,6 +790,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -828,19 +831,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -941,7 +931,7 @@
-
+
@@ -963,26 +953,26 @@
+
-
+
-
+
-
+
-
@@ -1353,7 +1343,6 @@
-
@@ -1417,7 +1406,6 @@
-
@@ -1442,7 +1430,7 @@
-
+
@@ -1478,7 +1466,7 @@
-
+
@@ -1526,23 +1514,17 @@
-
-
-
-
-
-
+
+
+
-
+
-
-
-
-
+
diff -r b6665f7f18d1 -r 638b604aa508 src/viewer_swing/java/com/glavsoft/viewer/ConnectionPresenter.java
--- a/src/viewer_swing/java/com/glavsoft/viewer/ConnectionPresenter.java Tue Aug 25 17:52:05 2015 +0900
+++ b/src/viewer_swing/java/com/glavsoft/viewer/ConnectionPresenter.java Tue Aug 25 18:04:01 2015 +0900
@@ -377,7 +377,7 @@
startConnection(viewer.settings, viewer.uiSettings, viewer.paramsMask);
}
- public void newVNCConnection(Protocol workingProtocol) {
+ public synchronized void newVNCConnection(Protocol workingProtocol) {
TreeRFBProto rfb = viewer.getRfb();
rfb.stopReceiverTask();
rfb.setProtocolContext(workingProtocol);