bugfix(JB): handle disposed editor tooltips

This commit is contained in:
Test 2024-12-30 11:52:27 -06:00
parent 74035c35cc
commit 72d4ad039f

View file

@ -28,6 +28,10 @@ class ContinuePluginSelectionListener(
private var lastActiveEditor: Editor? = null
override fun selectionChanged(e: SelectionEvent) {
if (e.editor.isDisposed || e.editor.project?.isDisposed == true) {
return
}
debouncer.debounce { handleSelection(e) }
}