Skip to content

Commit 7d4d1b9

Browse files
committed
fix: dont use project as disposable
Signed-off-by: Andre Dietisheim <[email protected]>
1 parent 076db24 commit 7d4d1b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/kotlin/com/redhat/devtools/intellij/kubernetes/tree/ResourceTreeToolWindowFactory.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ class ResourceTreeToolWindowFactory: ToolWindowFactory, DumbAware {
6262
val treeModel = StructureTreeModel<AbstractTreeStructure>(
6363
structure,
6464
null,
65-
Invoker.forBackgroundPoolWithoutReadAction(project),
66-
project
65+
Invoker.forBackgroundPoolWithoutReadAction(content),
66+
content
6767
)
6868
val tree = Tree(AsyncTreeModel(treeModel, content))
6969
tree.isRootVisible = false

0 commit comments

Comments
 (0)