diff --git a/platform/analysis-api/src/com/intellij/profile/ProfileChangeAdapter.java b/platform/analysis-api/src/com/intellij/profile/ProfileChangeAdapter.java index 5b4a9a074f26..b780a2f929ef 100644 --- a/platform/analysis-api/src/com/intellij/profile/ProfileChangeAdapter.java +++ b/platform/analysis-api/src/com/intellij/profile/ProfileChangeAdapter.java @@ -16,7 +16,4 @@ public interface ProfileChangeAdapter { default void profilesInitialized() { } - - default void profilesShutdown() { - } } diff --git a/platform/analysis-impl/src/com/intellij/profile/codeInspection/ProjectInspectionProfileManager.kt b/platform/analysis-impl/src/com/intellij/profile/codeInspection/ProjectInspectionProfileManager.kt index 949690e32b64..88d9b4f03be9 100644 --- a/platform/analysis-impl/src/com/intellij/profile/codeInspection/ProjectInspectionProfileManager.kt +++ b/platform/analysis-impl/src/com/intellij/profile/codeInspection/ProjectInspectionProfileManager.kt @@ -115,8 +115,6 @@ open class ProjectInspectionProfileManager(val project: Project) : BaseInspectio val cleanupInspectionProfilesRunnable = { cleanupSchemes(project) (ServiceManager.getServiceIfCreated(InspectionProfileManager::class.java) as BaseInspectionProfileManager?)?.cleanupSchemes(project) - this@ProjectInspectionProfileManager.project.messageBus.syncPublisher(ProfileChangeAdapter.TOPIC).profilesShutdown() - Unit } if (app.isUnitTestMode || app.isHeadlessEnvironment) {