From 6f8214951a13b6a91212780195b0dc310e389fa4 Mon Sep 17 00:00:00 2001 From: ChsBuffer <33744752+chsbuffer@users.noreply.github.com> Date: Fri, 23 Oct 2020 17:20:58 +0800 Subject: [PATCH] fix: update subscription async warning --- Netch/Forms/MainForm.MenuStrip.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Netch/Forms/MainForm.MenuStrip.cs b/Netch/Forms/MainForm.MenuStrip.cs index 74a3d6aceb..cb9988c29b 100644 --- a/Netch/Forms/MainForm.MenuStrip.cs +++ b/Netch/Forms/MainForm.MenuStrip.cs @@ -138,7 +138,7 @@ void DisableItems(bool v) await MainController.Start(ServerComboBox.SelectedItem as Server, mode); } - await Task.WhenAll(Global.Settings.SubscribeLink.Select(async item => await Task.Run(async () => + await Task.WhenAll(Global.Settings.SubscribeLink.Select(async item => await Task.Run(() => { try {