From 71d450ce44834a5ad9922bea696b9d93a4da6420 Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Tue, 17 Jun 2025 12:21:24 +0200 Subject: [PATCH] IJPL-192182 SaveAndSyncHandlerListener.beforeRefresh not called in 2025.2+ GitOrigin-RevId: 4a00e75ed3d90d595c8ac61904c0e025c5ada595 --- .../configuration-store-impl/src/SaveAndSyncHandlerImpl.kt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/platform/configuration-store-impl/src/SaveAndSyncHandlerImpl.kt b/platform/configuration-store-impl/src/SaveAndSyncHandlerImpl.kt index 71c2d7a70d35..31a599b30df1 100644 --- a/platform/configuration-store-impl/src/SaveAndSyncHandlerImpl.kt +++ b/platform/configuration-store-impl/src/SaveAndSyncHandlerImpl.kt @@ -77,6 +77,12 @@ private class SaveAndSyncHandlerImpl(private val coroutineScope: CoroutineScope) .debounce(300.milliseconds) .collect { if (!isSyncBlocked(settings)) { + for (listener in EP_NAME.extensionList) { + runCatching { + listener.beforeRefresh() + }.getOrLogException(LOG) + } + doRefreshAllKnownLocalRoots(refreshQueue, refreshSession) } }