diff --git a/platform/core-impl/src/com/intellij/openapi/progress/impl/ProgressRunner.java b/platform/core-impl/src/com/intellij/openapi/progress/impl/ProgressRunner.java index 1230d2684304..e225bfc3c6bd 100644 --- a/platform/core-impl/src/com/intellij/openapi/progress/impl/ProgressRunner.java +++ b/platform/core-impl/src/com/intellij/openapi/progress/impl/ProgressRunner.java @@ -313,9 +313,6 @@ public final class ProgressRunner { if (!EDT.isCurrentThreadEdt()) { return false; } - if (isSync && !ApplicationManager.getApplication().isWriteIntentLockAcquired()) { - throw new IllegalStateException("Running sync tasks on pure EDT (w/o IW lock) is dangerous for several reasons."); - } if (!isSync && isModal) { throw new IllegalStateException("Running async modal tasks from EDT is impossible: modal implies sync dialog show + polling events"); }