mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-21566 - assert: ModulesConfigurator$5.run [rev. by Dmitry A.]
This commit is contained in:
+4
-1
@@ -185,7 +185,10 @@ public class ModulesConfigurator implements ModulesProvider, ModuleEditor.Change
|
||||
|
||||
ApplicationManager.getApplication().runWriteAction(new Runnable() {
|
||||
public void run() {
|
||||
assert myModuleEditors.isEmpty();
|
||||
if (!myModuleEditors.isEmpty()) {
|
||||
LOG.error("module editors was not disposed");
|
||||
myModuleEditors.clear();
|
||||
}
|
||||
final Module[] modules = myModuleModel.getModules();
|
||||
if (modules.length > 0) {
|
||||
for (Module module : modules) {
|
||||
|
||||
Reference in New Issue
Block a user