mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
use app invokeLater in ant target execution (EA-88043 - assert: FileDocumentManagerImpl.saveAllDocuments)
This commit is contained in:
@@ -708,8 +708,8 @@ public class AntConfigurationImpl extends AntConfigurationBase implements Persis
|
||||
final Semaphore targetDone = new Semaphore();
|
||||
targetDone.down();
|
||||
final Ref<Boolean> result = Ref.create(Boolean.FALSE);
|
||||
//noinspection SSBasedInspection
|
||||
SwingUtilities.invokeLater(() -> {
|
||||
|
||||
ApplicationManager.getApplication().invokeLater(() -> {
|
||||
try {
|
||||
final Project project = dataContext.getData(CommonDataKeys.PROJECT);
|
||||
if (project == null || project.isDisposed()) {
|
||||
|
||||
Reference in New Issue
Block a user