mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 13:41:21 +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.
|
||||
* @return The current clipboard contents
|
||||
*/
|
||||
public String getContents() {
|
||||
public synchronized String getContents() {
|
||||
return contents;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user