exit
method on Actor
is for use only within the actor, not externally. That is, a unit test cleanup script can't just call
myActor.exit
but instead needs to send a message to the actor and let it exit from within:
case Stop => exit
Learning Scala. The hard way.
exit
method on Actor
is for use only within the actor, not externally. That is, a unit test cleanup script can't just call
myActor.exit
case Stop => exit
No comments:
Post a Comment