boolean (StackTraceElement @NotNull [] stackTrace) { // java.lang.AssertionError: Thread leaked: Thread[Redirect stderr,5,main] (alive) RUNNABLE //--- its stacktrace: // ... // at app//com.intellij.ide.starter.process.exec.ProcessExecutor$redirectProcessOutput$1.invoke(ProcessExecutor.kt:40) // at app//kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30) return ContainerUtil.exists( stackTrace, element -> element.getClassName().contains("com.intellij.ide.starter") ); }