Skip to content
This repository was archived by the owner on Mar 26, 2024. It is now read-only.

Commit 478144b

Browse files
committed
Fix some more situations when JCEF previews were not shown
1 parent dbe8c12 commit 478144b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

projector-ij-common/src/main/kotlin/org/jetbrains/projector/ij/jcef/ProjectorCefBrowser.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,6 @@ public class ProjectorCefBrowser @JvmOverloads constructor(
157157
}
158158

159159
override fun ancestorRemoved(event: AncestorEvent?) {
160-
instances.remove(id)
161-
162160
sendShowEvent(false)
163161
}
164162

@@ -167,8 +165,6 @@ public class ProjectorCefBrowser @JvmOverloads constructor(
167165
}
168166
})
169167

170-
logger.debug { "createdPrjBrowser: ${cefClient.hashCode()}: ${instances.size} : $originalBrowser" }
171-
172168
loadURL(url)
173169
}
174170

0 commit comments

Comments
 (0)