IJPL-189392 RecentProjectsManagerBase - use strict ui dispatcher

GitOrigin-RevId: 4f3528384b01151a6ae5d05c9137c36fbeb61f11
This commit is contained in:
Vladimir Krivosheev
2025-06-14 07:39:47 +02:00
committed by intellij-monorepo-bot
parent 32351b35b7
commit f93bc1c614

View File

@@ -218,8 +218,10 @@ open class RecentProjectsManagerBase(private val coroutineScope: CoroutineScope)
}
}
coroutineScope.launch(Dispatchers.EDT) {
updateSystemDockMenu()
if (!ApplicationManager.getApplication().isHeadlessEnvironment) {
coroutineScope.launch(Dispatchers.ui(UiDispatcherKind.STRICT)) {
updateSystemDockMenu()
}
}
}