#19046 replace system.{shutdown => terminate}
This commit is contained in:
parent
1ef35d907f
commit
3140e72265
57 changed files with 67 additions and 67 deletions
|
|
@ -281,7 +281,7 @@ class HttpServerExampleSpec extends WordSpec with Matchers {
|
|||
Console.readLine() // for the future transformations
|
||||
bindingFuture
|
||||
.flatMap(_.unbind()) // trigger unbinding from the port
|
||||
.onComplete(_ ⇒ system.shutdown()) // and shutdown when done
|
||||
.onComplete(_ ⇒ system.terminate()) // and shutdown when done
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue