IDEA-249422: Android: make descriptors non-empty to enable dynamic unloading of layou...
authorAndrei Kuznetsov <andrei.kuznetsov@jetbrains.com>
Wed, 23 Sep 2020 15:37:08 +0000 (18:37 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Wed, 23 Sep 2020 16:48:20 +0000 (16:48 +0000)
commitf91e3f29c8b7fd99cb70630a9b14a1a1f5540f39
treeb7df9c8f52294b6b17485feabae24f0c04250f31
parente8426ce25560d911c9b1e9fd77d2692f0c680d8c
IDEA-249422: Android: make descriptors non-empty to enable dynamic unloading of layoutlib-native/standard plugins

When descriptor is empty, com.intellij.ide.plugins.cl.PluginClassLoader.detachParent never invoked for android plugin, and classloader for layoutlib-xxx leaks, preventing layoutlib-xxx plugin from being unloaded

GitOrigin-RevId: ae5361439c1c1335ae9682b5ddfef2b39092495f
android/src/META-INF/layoutlib-native.xml
android/src/META-INF/layoutlib-standard.xml