From adb7c3413d66f63380e240e9676f2b8de0baffbd Mon Sep 17 00:00:00 2001 From: Reuben Bond Date: Wed, 22 Oct 2025 12:54:25 -0700 Subject: [PATCH] ResponseCompletionSource: RunContinuationsAsynchronously --- .../Invocation/ResponseCompletionSource.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Orleans.Serialization/Invocation/ResponseCompletionSource.cs b/src/Orleans.Serialization/Invocation/ResponseCompletionSource.cs index bdfabec2ff9..f622c701740 100644 --- a/src/Orleans.Serialization/Invocation/ResponseCompletionSource.cs +++ b/src/Orleans.Serialization/Invocation/ResponseCompletionSource.cs @@ -10,7 +10,7 @@ namespace Orleans.Serialization.Invocation /// public sealed class ResponseCompletionSource : IResponseCompletionSource, IValueTaskSource, IValueTaskSource { - private ManualResetValueTaskSourceCore _core; + private ManualResetValueTaskSourceCore _core = new() { RunContinuationsAsynchronously = true }; /// /// Returns this instance as a . @@ -113,7 +113,7 @@ void IValueTaskSource.GetResult(short token) /// The underlying result type. public sealed class ResponseCompletionSource : IResponseCompletionSource, IValueTaskSource, IValueTaskSource { - private ManualResetValueTaskSourceCore _core; + private ManualResetValueTaskSourceCore _core = new() { RunContinuationsAsynchronously = true }; /// /// Returns this instance as a . @@ -255,4 +255,4 @@ void IValueTaskSource.GetResult(short token) } } } -} \ No newline at end of file +}