Added parens to override of preStart and postStop
This commit is contained in:
parent
d0447c76cb
commit
bce7d176f4
18 changed files with 36 additions and 36 deletions
|
|
@ -111,7 +111,7 @@ object Pi extends App {
|
|||
def receive = scatter
|
||||
|
||||
// when we are stopped, stop our team of workers and our router
|
||||
override def postStop {
|
||||
override def postStop() {
|
||||
// send a PoisonPill to all workers telling them to shut down themselves
|
||||
router ! Broadcast(PoisonPill)
|
||||
// send a PoisonPill to the router, telling him to shut himself down
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue