diff --git a/build.gradle.kts b/build.gradle.kts
index c3dc7ba..696cd1b 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -15,7 +15,7 @@ repositories {
}
intellij {
- version.set("2023.1")
+ version.set("233.11555.11-EAP-SNAPSHOT")
updateSinceUntilBuild.set(false)
plugins.add("tanvd.grazi")
@@ -30,7 +30,7 @@ dependencies {
}
tasks.patchPluginXml {
- sinceBuild.set("231")
+ sinceBuild.set("233.11361.10")
}
tasks.buildSearchableOptions {
diff --git a/src/main/kotlin/com/chylex/intellij/inspectionlens/InspectionLens.kt b/src/main/kotlin/com/chylex/intellij/inspectionlens/InspectionLens.kt
index 6f2881a..a4e20c2 100644
--- a/src/main/kotlin/com/chylex/intellij/inspectionlens/InspectionLens.kt
+++ b/src/main/kotlin/com/chylex/intellij/inspectionlens/InspectionLens.kt
@@ -9,7 +9,7 @@ import com.intellij.openapi.fileEditor.TextEditor
import com.intellij.openapi.project.ProjectManager
import com.intellij.openapi.rd.createLifetime
import com.intellij.openapi.rd.createNestedDisposable
-import com.jetbrains.rd.util.lifetime.intersect
+import com.jetbrains.rd.util.lifetime.Lifetime
/**
* Handles installation and uninstallation of plugin features in editors.
@@ -55,7 +55,7 @@ internal object InspectionLens {
private fun createEditorDisposable(textEditor: TextEditor): Disposable {
val pluginLifetime = ApplicationManager.getApplication().getService(InspectionLensPluginDisposableService::class.java).createLifetime()
val editorLifetime = textEditor.createLifetime()
- return pluginLifetime.intersect(editorLifetime).createNestedDisposable()
+ return Lifetime.intersect(pluginLifetime, editorLifetime).createNestedDisposable("InspectionLensIntersectedLifetime")
}
/**