add Reason to CoordinatedShutdown, #24048
This commit is contained in:
parent
fa3da328be
commit
e49acb7daa
6 changed files with 116 additions and 28 deletions
|
|
@ -756,7 +756,7 @@ class ActorDocSpec extends AkkaSpec("""
|
|||
// don't run this
|
||||
def dummy(): Unit = {
|
||||
//#coordinated-shutdown-run
|
||||
val done: Future[Done] = CoordinatedShutdown(system).run()
|
||||
val done: Future[Done] = CoordinatedShutdown(system).run(CoordinatedShutdown.UnknownReason)
|
||||
//#coordinated-shutdown-run
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue