-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
Description
I have a machine with two children: one is spawn-ed and the other is invoke-ed.
They all have entry
and exit
actions which is a spy for testing.
Expected Result
after the interpreter.stop()
, the parent and two children exit
actions will be called once.
Actual Result
They have been called twice instead of once.
Reproduction
Additional context
I want to do cleanup whenever the machine (actor) has been stopped.
One more thing: I noticed that the exit order is not the same as the entry order.
- Entry order: spawn, invoke, parent
- Exit order: parent, spawn, invoke
I think the exit order should be exactly the reverse order of the entry?
Metadata
Metadata
Assignees
Labels
No labels