These are chat archives for petabridge/akka-bootcamp

Mar 2015
Steven Wilber
Mar 25 2015 17:03 UTC
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
Mar 25 2015 20:48 UTC
@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)