Skip to content

Commit

Permalink
Fix EventSourced Stash filtering out identical envelopes (#7375)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkatufus authored Nov 1, 2024
1 parent 0cbddb5 commit 67fad90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Akka/Actor/Stash/Internal/AbstractStash.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public void Prepend(IEnumerable<Envelope> envelopes)
{
// since we want to save the order of messages, but still prepending using AddFirst,
// we must enumerate envelopes in reversed order
foreach (var envelope in envelopes.Distinct().Reverse())
foreach (var envelope in envelopes.Reverse())
{
_theStash.AddFirst(envelope);
}
Expand Down

0 comments on commit 67fad90

Please sign in to comment.