Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb committed Dec 5, 2022
1 parent 2fdf71d commit eca1ac9
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions src/core/Akka.Streams/Implementation/Fusing/Ops.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3817,19 +3817,7 @@ public override void OnDownstreamFinish()
_completionCts.Cancel();
_completionCts.Dispose();

try
{
_enumerator.DisposeAsync().GetAwaiter().GetResult();
}
catch (Exception ex)
{
Log.Warning(ex, "Failed to dispose IAsyncEnumerator asynchronously");
}
finally
{
CompleteStage();
base.OnDownstreamFinish();
}
CompleteStage();
base.OnDownstreamFinish();
}

Expand Down

0 comments on commit eca1ac9

Please sign in to comment.