Fix race condition in print tree (#28191)
This commit is contained in:
parent
1da15d99b8
commit
ffde39c5c3
1 changed files with 4 additions and 2 deletions
|
|
@ -1207,7 +1207,9 @@ private[akka] class ActorSystemImpl(
|
||||||
(if (indent.isEmpty) "-> " else indent.dropRight(1) + "⌊-> ") +
|
(if (indent.isEmpty) "-> " else indent.dropRight(1) + "⌊-> ") +
|
||||||
node.path.name + " " + Logging.simpleName(node) + " " +
|
node.path.name + " " + Logging.simpleName(node) + " " +
|
||||||
(cell match {
|
(cell match {
|
||||||
case real: ActorCell => if (real.actor ne null) real.actor.getClass else "null"
|
case real: ActorCell =>
|
||||||
|
val realActor = real.actor
|
||||||
|
if (realActor ne null) realActor.getClass else "null"
|
||||||
case _ => Logging.simpleName(cell)
|
case _ => Logging.simpleName(cell)
|
||||||
}) +
|
}) +
|
||||||
(cell match {
|
(cell match {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue