From 4374d48b9754c8de0ef07b2e1e17e912e42c0df5 Mon Sep 17 00:00:00 2001 From: Evgenii Novozhilov Date: Sat, 12 Apr 2025 14:30:14 +0300 Subject: [PATCH] Eagerly initialize source to target map The map is used later from notification panel from the UI thread and current workflow leads to UI freeze on source to target map initialization --- base/src/META-INF/blaze-base.xml | 3 +- .../sync/SourceToTargetMapInitializer.java | 38 +++++++++++++++++++ .../AspectSyncSourceToTargetMap.java | 4 +- 3 files changed, 43 insertions(+), 2 deletions(-) create mode 100644 base/src/com/google/idea/blaze/base/sync/SourceToTargetMapInitializer.java diff --git a/base/src/META-INF/blaze-base.xml b/base/src/META-INF/blaze-base.xml index 15554b48e6c..f41eeb7592b 100644 --- a/base/src/META-INF/blaze-base.xml +++ b/base/src/META-INF/blaze-base.xml @@ -1,5 +1,5 @@