Skip to content

Commit

Permalink
Ensure that exceptions propagated to Connection's Initialized task is…
Browse files Browse the repository at this point in the history
… observed (#9280)

Co-authored-by: Dharshana Kalahe Jagoda <[email protected]>
  • Loading branch information
d-jagoda and Dharshana Kalahe Jagoda authored Jan 28, 2025
1 parent 6b9dc39 commit aa23850
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Orleans.Core/Networking/Connection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ private void StartClosing(Exception exception)
}

_initializationTcs.TrySetException(exception ?? new ConnectionAbortedException("Connection initialization failed"));
_initializationTcs.Task.Ignore();

if (this.Log.IsEnabled(LogLevel.Information))
{
Expand Down

0 comments on commit aa23850

Please sign in to comment.