From 2b21e67d22c458d154171d531427b749d162154f Mon Sep 17 00:00:00 2001 From: Maxim Kim Date: Wed, 10 Oct 2018 14:47:03 -0700 Subject: [PATCH] disable configureawait --- src/DotNetty.Common/Utilities/TaskEx.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)