Removed dead code
This commit is contained in:
parent
ae0ef2d06c
commit
2f4d45aec0
1 changed files with 0 additions and 2 deletions
|
|
@ -501,8 +501,6 @@ trait Actor extends TransactionManagement {
|
|||
def !: Option[T] = {
|
||||
if (_isKilled) throw new ActorKilledException("Actor [" + toString + "] has been killed, can't respond to messages")
|
||||
if (_isRunning) {
|
||||
val from = if (sender != null && sender.isInstanceOf[Actor]) Some(sender.asInstanceOf[Actor])
|
||||
else None
|
||||
val future = postMessageToMailboxAndCreateFutureResultWithTimeout(message, timeout, None)
|
||||
val isActiveObject = message.isInstanceOf[Invocation]
|
||||
if (isActiveObject && message.asInstanceOf[Invocation].isVoid) future.completeWithResult(None)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue