src/vs/workbench/browser/parts/editor/editorPanes.ts/EditorPanes/closeEditor
class EditorPanes:	closeEditor(editor: EditorInput): void {
		if (this._activeEditorPane?.input && editor.matches(this._activeEditorPane.input)) {
			this.doHideActiveEditorPane();
		}
	}