diff --git a/platform/lang-impl/src/com/intellij/openapi/roots/impl/PushedFilePropertiesUpdaterImpl.java b/platform/lang-impl/src/com/intellij/openapi/roots/impl/PushedFilePropertiesUpdaterImpl.java index 88d3ee1a9ec7..a290479c0394 100644 --- a/platform/lang-impl/src/com/intellij/openapi/roots/impl/PushedFilePropertiesUpdaterImpl.java +++ b/platform/lang-impl/src/com/intellij/openapi/roots/impl/PushedFilePropertiesUpdaterImpl.java @@ -97,7 +97,8 @@ public final class PushedFilePropertiesUpdaterImpl extends PushedFilePropertiesU // push synchronously to avoid entering dumb mode in the middle of a meaningful write action // when only a few files are created/moved syncTasks.forEach(Runnable::run); - } else { + } + else { delayedTasks.addAll(syncTasks); } if (!delayedTasks.isEmpty()) {