boolean (@Nullable JComponent parentComponent, @NotNull IdeaPluginDescriptorImpl pluginDescriptor, boolean isUpdate) { var options = new DynamicPlugins.UnloadPluginOptions().withDisable(false).withWaitForClassloaderUnload(true).withUpdate(isUpdate); return parentComponent != null ? DynamicPlugins.INSTANCE.unloadPluginWithProgress(null, parentComponent, pluginDescriptor, options) : DynamicPlugins.INSTANCE.unloadPlugin(pluginDescriptor, options); }