public async void Shutdown() { await ServerViewExtension.StopServerAsync(); Events.UnregisterEventHandlers(); }
public static async void OnServerStop(object sender, RoutedEventArgs e) { await ServerViewExtension.StopServerAsync(); }