mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[vcs-log] actually dispose log uis in beforeEditorClose
follow-up: ab7add6a9a72ddd616185a826d921ab74cbe25e8 GitOrigin-RevId: e8e871044f7eb352fc409a08493f94edb3d6df20
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f4f4efce92
commit
c26f6440b8
@@ -66,10 +66,12 @@ class VcsLogEditor(file: VcsLogFile) : FileEditorBase() {
|
||||
}
|
||||
|
||||
fun beforeEditorClose() {
|
||||
val logUis = vcsLogFile?.logUis
|
||||
|
||||
container.removeAll()
|
||||
vcsLogFile = null
|
||||
|
||||
vcsLogFile?.logUis?.forEach(Disposer::dispose)
|
||||
logUis?.forEach(Disposer::dispose)
|
||||
}
|
||||
|
||||
override fun getComponent(): JComponent = container
|
||||
|
||||
Reference in New Issue
Block a user