Try fail in case the unbind promise was already completed
This commit is contained in:
parent
7bdd6c8934
commit
bdfcbc28da
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ import scala.concurrent.{ Future, Promise }
|
|||
} else {
|
||||
val ex = new IllegalStateException("IO Listener actor terminated unexpectedly for remote endpoint [" +
|
||||
endpoint.getHostString + ":" + endpoint.getPort + "]")
|
||||
unbindPromise.failure(ex)
|
||||
unbindPromise.tryFailure(ex)
|
||||
failStage(ex)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue