Skip to content

A Child Actor not always killed, when its parent is killed #27

@efibutov

Description

@efibutov

@kquick
Looks like a bug...

class Child(Actor):
    def receiveMessage(self, msg, sender):
        print('Im child')


class Parent(Actor):
    def receiveMessage(self, msg, sender):
        self.createActor(Child)



asys = ActorSystem('multiprocTCPBase')
p = asys.createActor(Parent)
asys.tell(p, ActorExitRequest())
asys.shutdown()

Environment:
Ubuntu 18.04
Python 3.6.5

Running the code above many times causes leaving processes (htop)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions