mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-08 06:01:22 +00:00
Synchronize on getContents() as well, for sake of consistency and predictability.
This commit is contained in:
@@ -45,7 +45,7 @@ public class ClipboardState {
|
|||||||
* Returns the current clipboard contents.
|
* Returns the current clipboard contents.
|
||||||
* @return The current clipboard contents
|
* @return The current clipboard contents
|
||||||
*/
|
*/
|
||||||
public String getContents() {
|
public synchronized String getContents() {
|
||||||
return contents;
|
return contents;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user