These are chat archives for petabridge/akka-bootcamp

25th
Mar 2015
Steven Wilber
@stevenwilber
Mar 25 2015 17:03
Hi, in unit 1 lesson 6 we look at using the preStart and postStop methods.
In preStart you don't call base in the example, but it is called in postStop. Is it generally recommended to call base or not and if so, before or after your own code. Thanks.
Aaron Stannard
@Aaronontheweb
Mar 25 2015 20:48
@stevenwilber hi Steven - on PreStart and PostStop calling the base method doesn't do anything
however, the PreRestart and the PostRestart both do something, so you should call the base methods there except for some specific situations (such as not killing off children on restart)