mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 04:51:24 +07:00
- Put lock state into coroutine context in `runBlockingCancellable`.
- Use lock state from context if thread local is empty.
- Fix tests which become not valid in new mode.
- Add tests for new functionality.
- Add feature flag to enable this new mode by default.
Feature flag: `-Dide.store.lock.in.context={true|false}`. `true` (new mode) is a default.
Merge-request: IJ-MR-146415
Merged-by: Lev Serebryakov <Lev.Serebryakov@jetbrains.com>
(cherry picked from commit 49b4f448f652a2b074501f0cc6fca047cd4d5a8b)
IJ-CR-147289
GitOrigin-RevId: a13959a241fd939dbe71ba52135362c30ff81b59