forked from JetBrains/intellij-community
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KTIJ-19119 [Kotlin Scratch]: synchronous execution under ReadAction
This commit fixes a problem reported as "Synchronous execution under ReadAction". KtScratchExecutionSession.runCommandLine() launched under ReadAction fails from time to time whatever declared execution context is (sync or async). Since read-lock isn't explicitly required for the call (detected neither in theory nor at runtime), its scope was limited. GitOrigin-RevId: 46688cb3f5212838693713a6e823c81d49cf279c
- Loading branch information
1 parent
b1a639f
commit 5127a5b
Showing
1 changed file
with
17 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters