Skip to content

fix KeyNotFoundException in DelegatingSupervisorStrategy#7438

Merged
Aaronontheweb merged 1 commit into
akkadotnet:devfrom
Aaronontheweb:7437-DelegatingSupervisorStrategy
Dec 24, 2024
Merged

fix KeyNotFoundException in DelegatingSupervisorStrategy#7438
Aaronontheweb merged 1 commit into
akkadotnet:devfrom
Aaronontheweb:7437-DelegatingSupervisorStrategy

Conversation

@Aaronontheweb
Copy link
Copy Markdown
Member

@Aaronontheweb Aaronontheweb commented Dec 24, 2024

Changes

close #7437

Checklist

For significant changes, please ensure that the following have been completed (delete if not relevant):

@Aaronontheweb Aaronontheweb added the akka-testkit Akka.NET Testkit issues label Dec 24, 2024
@Aaronontheweb Aaronontheweb changed the title fix KeyNotFoundException in DelegatingSupervisorStrategy fix KeyNotFoundException in DelegatingSupervisorStrategy Dec 24, 2024
modifiers: null);
var result = (Directive) handleMethod.Invoke(childDelegate, new object[]{ child, exception });
return result;
if(Delegates.TryGetValue(child, out var childDelegate))
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check if the child IActorRef has a strategy specified at all - if not, fall back to the default.

@Aaronontheweb Aaronontheweb enabled auto-merge (squash) December 24, 2024 14:39
@Aaronontheweb Aaronontheweb merged commit 400e7cb into akkadotnet:dev Dec 24, 2024
@Aaronontheweb Aaronontheweb deleted the 7437-DelegatingSupervisorStrategy branch December 24, 2024 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

akka-testkit Akka.NET Testkit issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Akka.TestKit: DelegatingSupervisorStrategy KeyNotFoundException

1 participant