mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
drop obsolesce annotation from runReadAction (it forces to use pre-kotlin API inside blocking context)
GitOrigin-RevId: ba12f14d8eda7f418ff60e32ae1509b8615610e6
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0e167eb022
commit
543c31f143
@@ -23,7 +23,6 @@ fun <T> runUndoTransparentWriteAction(runnable: () -> T): T {
|
||||
/**
|
||||
* Use [readAction].
|
||||
*/
|
||||
@Obsolete
|
||||
fun <T> runReadAction(runnable: () -> T): T {
|
||||
return ApplicationManager.getApplication().runReadAction(Computable(runnable))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user