mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[threading] IJPL-231314: Replace parsing of toString with instance check
Space-RevId: 3348cb7c231063b62df508f025acc371f3982475 GitOrigin-RevId: 8fdae75b7c7a00089f860ef24c00ba12c3befdbb
This commit is contained in:
committed by
intellij-monorepo-bot
parent
a6d0c42c2c
commit
c0a1e7da7c
@@ -18,6 +18,7 @@ import com.intellij.ide.ui.normalize
|
||||
import com.intellij.openapi.Disposable
|
||||
import com.intellij.openapi.application.*
|
||||
import com.intellij.openapi.application.ex.ApplicationManagerEx
|
||||
import com.intellij.openapi.application.impl.InternalThreading
|
||||
import com.intellij.openapi.application.impl.InvocationUtil
|
||||
import com.intellij.openapi.application.impl.LaterInvocator
|
||||
import com.intellij.openapi.components.serviceIfCreated
|
||||
@@ -540,7 +541,7 @@ class IdeEventQueue private constructor() : EventQueue() {
|
||||
|
||||
// todo: remove when listeners would not acquire WI
|
||||
private fun shouldSkipListeners(e: AWTEvent): Boolean {
|
||||
return e is InvocationEvent && e.toString().contains(ThreadingSupport.RunnableWithTransferredWriteAction.NAME)
|
||||
return e is InternalThreading.TransferredWriteActionEvent
|
||||
}
|
||||
|
||||
private fun isUserActivityEvent(e: AWTEvent): Boolean =
|
||||
|
||||
Reference in New Issue
Block a user