Auto-restart actors forget their on_exit behavior
I am attaching a MWE that shows a bug in which an actor that is set to auto-restart seems to "forget" its on_exit behavior after its first death. I am happy to add to teshsuite if it's useful. The fix seems pretty clean. In src/kernel/actor/ActorImpl.cpp the loop that empties the on_exit data structure should just not empty it if the actor is set to autorestart...
Edited by Henri Casanova