Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Actorsystem is 'killable' #5
from thespian.actors import Actor, ActorExitRequest, ActorSystem class Kill_The_Messenger(Actor): def receiveMessage(self, message, sender): self.send(sender, ActorExitRequest()) def main(): asys = ActorSystem() ktm = asys.createActor(Kill_The_Messenger) asys.tell(ktm, "Test message") asys.tell(ktm, ActorExitRequest()) if __name__ == '__main__': main()
so you can see:
...which I believe is caused by the
Resolved in release 2.5.8 (https://github.com/godaddy/Thespian/releases/tag/thespian-2.5.8).