This commit is contained in:
2024-06-23 00:04:57 +02:00
parent a6e5b0dd57
commit cb9fc19f1a

View File

@@ -63,6 +63,7 @@ public class PersistentRemoteHostsService {
}
public void addHost(HostInfo hostInfo) {
if (hostInfo.getUuid().equals(_selfUuid)) return;
_persistentData.runWriteLocked(d -> {
d.getRemoteHosts().put(hostInfo.getUuid(), hostInfo);
return null;