bugfix(JB): handle disposed editor tooltips
This commit is contained in:
parent
74035c35cc
commit
72d4ad039f
1 changed files with 4 additions and 0 deletions
|
|
@ -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) }
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue