unborkin master

This commit is contained in:
Viktor Klang 2011-09-17 13:37:36 +02:00
parent 9b21dd0af3
commit 4ee9efc4e4

View file

@ -75,10 +75,10 @@ abstract class MessageDispatcher extends Serializable {
final def attach(actor: ActorInstance) {
guard withGuard {
register(actor)
}
val promise = new ActorPromise(Timeout.never)(this)
dispatchMessage(new MessageInvocation(actor, Init, promise))
promise.get
val promise = new ActorPromise(Timeout.never)(this)
dispatchMessage(new MessageInvocation(actor, Init, promise))
promise
}.get
}
/**