void (@NotNull IdeaPluginDescriptor plugin) { ApplicationManager.getApplication().invokeAndWait(() -> { ApplicationManager.getApplication().getMessageBus().syncPublisher(DynamicPluginListener.TOPIC).pluginUnloaded(plugin, false); }); }