diff --git a/plugins/terminal/backend/src/com/intellij/terminal/backend/fus/BackendLatencyServiceImpl.kt b/plugins/terminal/backend/src/com/intellij/terminal/backend/fus/BackendLatencyServiceImpl.kt index d7075f689582..f9053c72261f 100644 --- a/plugins/terminal/backend/src/com/intellij/terminal/backend/fus/BackendLatencyServiceImpl.kt +++ b/plugins/terminal/backend/src/com/intellij/terminal/backend/fus/BackendLatencyServiceImpl.kt @@ -196,7 +196,7 @@ private class BackendOutputActivityImpl : BackendOutputActivity { /** * The part of the state that is affected by collecting the text buffer and further event processing. * - * Accessed from different threads, though never from the terminal emulator thread. + * Accessed from different threads, so must be thread-safe. */ private class EventFlowState { private val collectedRanges = ConcurrentHashMap, LongRange>()