Skip to content

Commit 67fad90

Browse files
authored
Fix EventSourced Stash filtering out identical envelopes (#7375)
1 parent 0cbddb5 commit 67fad90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/Akka/Actor/Stash/Internal/AbstractStash.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public void Prepend(IEnumerable<Envelope> envelopes)
180180
{
181181
// since we want to save the order of messages, but still prepending using AddFirst,
182182
// we must enumerate envelopes in reversed order
183-
foreach (var envelope in envelopes.Distinct().Reverse())
183+
foreach (var envelope in envelopes.Reverse())
184184
{
185185
_theStash.AddFirst(envelope);
186186
}

0 commit comments

Comments
 (0)