mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 19:02:13 +07:00
Synchronously unload plugin when installing update in synchronous load/unload mode (IDEA-224223)
GitOrigin-RevId: de69400bbdf8cffe575b58e8f21ba10fc73b83e4
This commit is contained in:
committed by
intellij-monorepo-bot
parent
91b6b649f0
commit
c33e1fb3b6
@@ -325,6 +325,11 @@ public class MyPluginModel extends InstalledPluginsTableModel implements PluginM
|
||||
if (installedPluginDescriptor == null || !DynamicPlugins.allowLoadUnloadWithoutRestart(installedPluginDescriptor)) {
|
||||
allowUninstallWithoutRestart = false;
|
||||
}
|
||||
else if (DynamicPlugins.allowLoadUnloadSynchronously(installedPluginDescriptor)) {
|
||||
if (!PluginInstaller.uninstallDynamicPlugin(installedPluginDescriptor)) {
|
||||
allowUninstallWithoutRestart = false;
|
||||
}
|
||||
}
|
||||
else {
|
||||
performUninstall(installedPluginDescriptor);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user