mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-16 22:28:17 +00:00
Run Join/Leave commands asynchronously so the UI doesn't lock up on thoise commands
This commit is contained in:
@ -118,7 +118,7 @@ namespace WinUI
|
||||
bool allowGlobal = allowGlobalCheckbox.IsChecked.Value;
|
||||
bool allowManaged = allowManagedCheckbox.IsChecked.Value;
|
||||
|
||||
APIHandler.Instance.JoinNetwork(joinNetworkBox.Text, allowManaged, allowGlobal, allowDefault);
|
||||
APIHandler.Instance.JoinNetwork(this.Dispatcher, joinNetworkBox.Text, allowManaged, allowGlobal, allowDefault);
|
||||
|
||||
Close();
|
||||
}
|
||||
|
Reference in New Issue
Block a user