use the right name in StubbedActorContext.spawnAdapter
This commit is contained in:
parent
902d0d0b3c
commit
a0a5490223
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ class StubbedActorContext[T](
|
|||
/**
|
||||
* INTERNAL API
|
||||
*/
|
||||
@InternalApi private[akka] def internalSpawnAdapter[U](f: U ⇒ T, _name: String): ActorRef[U] = {
|
||||
@InternalApi private[akka] def internalSpawnAdapter[U](f: U ⇒ T, name: String): ActorRef[U] = {
|
||||
val n = if (name != "") s"${childName.next()}-$name" else childName.next()
|
||||
val i = Inbox[U](n)
|
||||
_children += i.ref.path.name → i
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue