Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: [v5] callback actor isn't getting cleaned up when another actor is spawned #4077

Closed
rostero1 opened this issue Jun 16, 2023 · 1 comment
Labels

Comments

@rostero1
Copy link
Contributor

Description

In the following example you'll see that the existence of otherRef prevents the socketRef's cleanup from being executed. This is made more evident by assigning socketRef a systemId.

Expected result

No errors and the cleanup function of socketRef to be executed.

Actual result

  • An error: Actor with system ID 'next' already exists.
  • Cleanup function isn't called, which is evident by the logs.

Reproduction

https://stackblitz.com/edit/stackblitz-starters-u8lam3

Additional context

No response

@rostero1 rostero1 added the bug label Jun 16, 2023
@rostero1 rostero1 changed the title Bug: callback actor isn't getting cleaned up when another actor is spawned Bug: [v5] callback actor isn't getting cleaned up when another actor is spawned Jun 16, 2023
@Andarist
Copy link
Member

Thanks for testing out v5 and reporting the problem! I see what's going wrong, gonna fix this in a moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants