mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-17 20:46:54 +02:00
fixed an issue where sometimes network data wouldnt be updated
This commit is contained in:
parent
e48d6880c9
commit
299a7cab20
2 changed files with 7 additions and 1 deletions
windows/WinUI
|
@ -118,6 +118,7 @@ namespace WinUI
|
|||
}
|
||||
}
|
||||
|
||||
_knownNetworks.Sort();
|
||||
_nwCb(_knownNetworks);
|
||||
}
|
||||
|
||||
|
|
|
@ -478,7 +478,12 @@ namespace WinUI
|
|||
{
|
||||
public bool Equals(ZeroTierNetwork lhs, ZeroTierNetwork rhs)
|
||||
{
|
||||
return lhs.NetworkId.Equals(rhs.NetworkId);
|
||||
if (lhs.NetworkId.Equals(rhs.NetworkId))
|
||||
{
|
||||
lhs.UpdateNetwork(rhs);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public int GetHashCode(ZeroTierNetwork obj)
|
||||
|
|
Loading…
Add table
Reference in a new issue