Skip to content

Commit 22f282c

Browse files
committed
Remove two assertEquals from ProjectLifecycleListener
These two asserts sometimes lead to such exception: "Already disposed: Project (Disposed)" It causes because these asserts are called in afterProjectClosed callback and there project can be already disposed
1 parent 795ec44 commit 22f282c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ide-plugin/src/org/jetbrains/plugins/ruby/ruby/codeInsight/ProjectLifecycleListenerImpl.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,6 @@ class ProjectLifecycleListenerImpl : ProjectLifecycleListener {
7272
if (!project.isDefault) {
7373
val projectDescription = readProjectDescription(project, deleteJsonAfterRead = true)
7474
File(projectDescription.pipeFilePath).delete()
75-
76-
assertEquals(projectDescription.projectName, project.name)
77-
assertEquals(projectDescription.projectPath, project.basePath)
7875
}
7976
}
8077

0 commit comments

Comments
 (0)