mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
project structure dialog: fix double disposal of newly created libraries (IDEA-196008)
Such libraries will be disposed in getLibrariesModifiableModel().removeLibrary(library) call.
This commit is contained in:
-3
@@ -86,9 +86,6 @@ public class LibrariesModifiableModel implements LibraryTableBase.ModifiableMode
|
||||
|
||||
if (existingLibrary == library) {
|
||||
myRemovedLibraries.add(library);
|
||||
} else {
|
||||
// dispose uncommitted library
|
||||
Disposer.dispose(library);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user