How do I kill a RemoteActor?

前端 未结 1 717
终归单人心
终归单人心 2021-01-13 12:26

Not sure whether I am missing something. When making an actor remote, the main method does not terminate.

Here is a snippet that demonstrates the problem.

<
1条回答
  •  北海茫月
    2021-01-13 13:19

    Put your .alive and .register calls inside act() and your code successfully terminates.

    0 讨论(0)
提交回复
热议问题