diff --git a/src/Orleans.Core/Networking/ConnectionManager.cs b/src/Orleans.Core/Networking/ConnectionManager.cs index a0a9e7a33a..de06ae2e48 100644 --- a/src/Orleans.Core/Networking/ConnectionManager.cs +++ b/src/Orleans.Core/Networking/ConnectionManager.cs @@ -325,7 +325,7 @@ private void StartConnection(SiloAddress address, Connection connection) ThreadPool.UnsafeQueueUserWorkItem(state => { var (t, address, connection) = ((ConnectionManager, SiloAddress, Connection))state; - _ = t.RunConnectionAsync(address, connection); + t.RunConnectionAsync(address, connection).Ignore(); }, (this, address, connection)); } diff --git a/src/Orleans.Runtime/Networking/ConnectionListener.cs b/src/Orleans.Runtime/Networking/ConnectionListener.cs index 98c37facb4..3205e810f1 100644 --- a/src/Orleans.Runtime/Networking/ConnectionListener.cs +++ b/src/Orleans.Runtime/Networking/ConnectionListener.cs @@ -142,7 +142,7 @@ private void StartConnection(Connection connection) ThreadPool.UnsafeQueueUserWorkItem(state => { var (t, connection) = ((ConnectionListener, Connection))state; - _ = t.RunConnectionAsync(connection); + t.RunConnectionAsync(connection).Ignore(); }, (this, connection)); }