Skip to content

Commit

Permalink
removed deprecated withWriteLockOnEdt()
Browse files Browse the repository at this point in the history
  • Loading branch information
dkandalov committed May 3, 2024
1 parent 88e7cf1 commit c7609f0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/plugin-api-kotlin/liveplugin/threads.kt
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ inline fun <T> runOnEdtWithWriteLock(crossinline f: () -> T): T =
ApplicationManager.getApplication().runWriteAction(Computable { f() })
}

@Deprecated(message = "Replace with runOnEdtWithWriteLock", replaceWith = ReplaceWith("runOnEdtWithWriteLock"))
inline fun <T> withWriteLockOnEdt(crossinline f: () -> T): T =
runOnEdtWithWriteLock(f)

/**
* See also [com.intellij.openapi.progress.ProgressManager]
*/
Expand Down

0 comments on commit c7609f0

Please sign in to comment.