diff --git a/src/DotNetty.Common/Utilities/TaskEx.cs b/src/DotNetty.Common/Utilities/TaskEx.cs index f3c29541a..96b097125 100644 --- a/src/DotNetty.Common/Utilities/TaskEx.cs +++ b/src/DotNetty.Common/Utilities/TaskEx.cs @@ -123,8 +123,8 @@ public static async void LinkOutcome(this ValueTask future, IPromise promise) { try { - //context capturing not required since callback executed synchrounusly on completion in eventloop - await future.ConfigureAwait(false); + //context capturing not required since callback executed synchronously on completion in eventloop + await future; promise.TryComplete(); } catch (Exception ex)