Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions src/core/Akka.Remote/EndpointManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -515,10 +515,9 @@ private ICancelable PruneTimerCancelleable

private void HandleStashedInbound(IActorRef endpoint, bool writerIsIdle)
{
var stashed = _stashedInbound.GetOrElse(endpoint, new List<InboundAssociation>());
_stashedInbound.Remove(endpoint);
foreach (var ia in stashed)
HandleInboundAssociation(ia, writerIsIdle);
if (_stashedInbound.Remove(endpoint, out var value))
foreach (var ia in value)
HandleInboundAssociation(ia, writerIsIdle);
}

private void KeepQuarantinedOr(Address remoteAddress, Action body)
Expand Down
Loading