Don't go kaboom when the ZeroTier service isn't running.
This commit is contained in:
parent
a95ff21aaf
commit
7b86176d0e
4 changed files with 146 additions and 54 deletions
|
@ -35,6 +35,10 @@ namespace WinUI
|
|||
public void setNetworks(List<ZeroTierNetwork> networks)
|
||||
{
|
||||
this.wrapPanel.Children.Clear();
|
||||
if (networks == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
for (int i = 0; i < networks.Count; ++i)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue