mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
fix duplicated coroutine name in dumps
GitOrigin-RevId: d79378aa671dd20e39fb6e2deef12d20801af4ea
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9fea77e0a1
commit
e2cea41d2b
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
@file:Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER")
|
||||
@file:OptIn(ExperimentalCoroutinesApi::class, InternalCoroutinesApi::class)
|
||||
|
||||
@@ -261,7 +261,7 @@ private fun JobTree.toRepresentation(stripTrace: Boolean): JobRepresentationTree
|
||||
// see kotlinx.coroutines.AbstractCoroutine.nameString
|
||||
null
|
||||
}
|
||||
else if (job.javaClass.name == "com.intellij.util.ChildScope") {
|
||||
else if (job.javaClass.name == "com.intellij.platform.util.coroutines.ChildScope") {
|
||||
// ChildScope already renders the name in its `toString()`
|
||||
null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user