clean up application structure
- introduce common parent for guardian and systemGuardian - install deathWatch chain to ensure proper shutdown upon guardian’s death - re-install stdout logger before detaching default loggers - await app termination after running AkkaSpec tests (max 5sec, with warning logged if not stopped)
This commit is contained in:
parent
01d8b00a76
commit
d1e0f411ef
7 changed files with 77 additions and 32 deletions
|
|
@ -130,7 +130,7 @@ class DefaultScheduler extends Scheduler {
|
|||
}
|
||||
}
|
||||
|
||||
private[akka] def shutdown() { service.shutdown() }
|
||||
private[akka] def shutdown() { service.shutdownNow() }
|
||||
}
|
||||
|
||||
private object SchedulerThreadFactory extends ThreadFactory {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue