IJPL-192182 SaveAndSyncHandlerListener.beforeRefresh not called in 2025.2+

GitOrigin-RevId: 4a00e75ed3d90d595c8ac61904c0e025c5ada595
This commit is contained in:
Vladimir Krivosheev
2025-06-17 12:21:24 +02:00
committed by intellij-monorepo-bot
parent 1c0842a1c8
commit 71d450ce44

View File

@@ -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)
}
}