Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Memory leak during actor creation. #439

@devas123

Description

@devas123

When creating a new actor in the following code:

https://github.com/zio/zio-actors/blob/1560ff2d2cc000cf36313b5ebf659467f5a5a191/actors/src/main/scala/zio/actors/ActorSystem.scala#L132-L143

If the actor stops and calls dropFromActorMap before it gets added to the actor map at line 143, the map will be updated with a reference to a dead actor, which creates a memory leak.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions