Merge branch 'async-system-messages' of github.com:jboner/akka into async-system-messages
This commit is contained in:
commit
f30bc274d3
2 changed files with 7 additions and 2 deletions
|
|
@ -390,7 +390,12 @@ abstract class ActorModelSpec extends JUnitSuite {
|
|||
(1 to num) foreach { _ ⇒
|
||||
newTestActor ! cachedMessage
|
||||
}
|
||||
assertCountDown(cachedMessage.latch, Testing.testTime(10000), "Should process " + num + " countdowns")
|
||||
try {
|
||||
assertCountDown(cachedMessage.latch, Testing.testTime(10000), "Should process " + num + " countdowns")
|
||||
} catch {
|
||||
case e ⇒
|
||||
EventHandler.error(null, cachedMessage.latch.getCount())
|
||||
}
|
||||
}
|
||||
for (run ← 1 to 3) {
|
||||
flood(10000)
|
||||
|
|
|
|||
|
|
@ -255,9 +255,9 @@ private[akka] class ActorCell(
|
|||
receiveTimeout = None
|
||||
cancelReceiveTimeout
|
||||
Actor.registry.unregister(self)
|
||||
dispatcher.detach(this)
|
||||
isTerminated = true
|
||||
terminated = isTerminated
|
||||
dispatcher.detach(this)
|
||||
try {
|
||||
val a = actor.get
|
||||
if (Actor.debugLifecycle) EventHandler.debug(a, "stopping")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue