mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix dom leaks to unloaded plugins (IDEA-242155, IDEA-242151)
GitOrigin-RevId: c58f5fe69ef8b8cee36cd4f5ba700ef378899a68
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d05e1123bc
commit
8b47486ba9
@@ -72,6 +72,8 @@ public class ConverterManagerImpl implements ConverterManager {
|
||||
mySimpleConverters.put(String.class, Converter.EMPTY_CONVERTER);
|
||||
mySimpleConverters.put(Object.class, Converter.EMPTY_CONVERTER);
|
||||
mySimpleConverters.put(PathReference.class, PathReferenceConverter.INSTANCE);
|
||||
|
||||
DomImplementationClassEP.CONVERTER_EP_NAME.addChangeListener(() -> myConverterInstances.clear(), null);
|
||||
}
|
||||
|
||||
protected void addConverter(Class clazz, Converter converter) {
|
||||
|
||||
@@ -83,6 +83,8 @@ public final class DomApplicationComponent {
|
||||
myInvocationCaches.clear();
|
||||
assignabilityCache.clear();
|
||||
|
||||
myVisitorDescriptions.clear();
|
||||
|
||||
registerDescriptions();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user