Clear DOM assignability cache on plugin unload (IDEA-240454)

GitOrigin-RevId: b97d867b9048ca0a740414e8c10ecf9c332dfe92
This commit is contained in:
Dmitry Jemerov
2020-05-09 05:25:10 +00:00
committed by intellij-monorepo-bot
parent 60843512c6
commit 4bf86bb150
2 changed files with 4 additions and 0 deletions
@@ -31,4 +31,7 @@ public class ReflectionAssignabilityCache {
return ancestor == descendant || myCache.get(ancestor).get(descendant).booleanValue();
}
public void clear() {
myCache.clear();
}
}
@@ -81,6 +81,7 @@ public final class DomApplicationComponent {
myTypeChooserManager.clearCache();
myInvocationCaches.clear();
assignabilityCache.clear();
registerDescriptions();
}