void (XDebugSession session) { List<Inlay<FailedTestInlayRenderer>> inlays = ourActiveInlays.getOrDefault(session, null); if (inlays != null) { inlays.forEach((inlay) -> { inlay.getEditor().getComponent().removeComponentListener(ourEditorListeners.get(inlay)); ApplicationManager.getApplication().invokeLater(() -> Disposer.dispose(inlay)); }); ourActiveInlays.remove(session); } }