mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[threading] IJPL-206977: Use safer dispatcher in project frame creation
GitOrigin-RevId: f44128749d46c31dbcd306b8e34dd9802cc4e496
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0e14915c60
commit
1d5c3b9e76
+1
-1
@@ -490,7 +490,7 @@ private suspend fun openProjectViewIfNeeded(project: Project, toolWindowInitJob:
|
||||
val toolWindow = toolWindowManager.getToolWindow("Project")
|
||||
if (toolWindow != null) {
|
||||
// maybe readAction
|
||||
withContext(Dispatchers.UiWithModelAccess) {
|
||||
withContext(Dispatchers.EDT) {
|
||||
toolWindow.activate(null, !AppMode.isRemoteDevHost())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user