Merge with master
This commit is contained in:
commit
cf27ca0ab4
219 changed files with 3289 additions and 6683 deletions
|
|
@ -63,7 +63,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
|
||||
|
|
@ -101,7 +101,7 @@ object Pi extends App {
|
|||
latch.await()
|
||||
|
||||
// Shut down the system
|
||||
system.stop()
|
||||
system.shutdown()
|
||||
}
|
||||
}
|
||||
//#app
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue