Skip to content

Fix actor.Stopped being sent twice under certain conditions#197

Merged
AR1011 merged 2 commits intoanthdm:get-inbox-countfrom
AR1011:fix-duplicate-actor-stopped
Jun 6, 2025
Merged

Fix actor.Stopped being sent twice under certain conditions#197
AR1011 merged 2 commits intoanthdm:get-inbox-countfrom
AR1011:fix-duplicate-actor-stopped

Conversation

@AR1011
Copy link
Collaborator

@AR1011 AR1011 commented Apr 9, 2025

Fixes #196

Also, add check to func (p *process) cleanup(cancel context.CancelFunc) to check for nil before using cancel(). Which was causing nil pointer dereference after being called by p.cleanup(nil) when an actor reaches it maximum number of restarts

@AR1011 AR1011 changed the base branch from master to get-inbox-count June 6, 2025 08:53
@AR1011 AR1011 merged commit a6dc6f6 into anthdm:get-inbox-count Jun 6, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

actor.Stopped being sent twice

3 participants