mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Correct condition for unloadability of plugin with optional descriptor (IDEA-CR-57377)
GitOrigin-RevId: 8927b929491b69ec2f78117b7da8b9b153e71911
This commit is contained in:
committed by
intellij-monorepo-bot
parent
15a9f575f1
commit
7fe5fa09c6
@@ -134,7 +134,7 @@ object DynamicPlugins {
|
||||
if (!((ActionManager.getInstance() as ActionManagerImpl).canUnloadActions(pluginDescriptor))) return false
|
||||
|
||||
pluginDescriptor.optionalConfigs?.forEach { (pluginId, optionalDescriptors) ->
|
||||
if (isPluginLoaded(pluginId) && !optionalDescriptors.any { !allowLoadUnloadWithoutRestart(it, pluginDescriptor) }) return false
|
||||
if (isPluginLoaded(pluginId) && optionalDescriptors.any { !allowLoadUnloadWithoutRestart(it, pluginDescriptor) }) return false
|
||||
}
|
||||
|
||||
var canUnload = true
|
||||
|
||||
Reference in New Issue
Block a user