Merge branch 'wip-1466-remove-stop-rk'

This commit is contained in:
Roland 2011-12-14 15:56:08 +01:00
commit 1ab2cecc2c
87 changed files with 475 additions and 359 deletions

View file

@ -62,7 +62,7 @@ object Pi extends App {
pi += value
nrOfResults += 1
// Stops this actor and all its supervised children
if (nrOfResults == nrOfMessages) self.stop()
if (nrOfResults == nrOfMessages) context.stop(self)
//#handle-messages
}
//#master-receive
@ -98,7 +98,7 @@ object Pi extends App {
latch.await()
// Shut down the system
system.stop()
system.shutdown()
}
}
//#app