src/vs/workbench/browser/parts/editor/textDiffEditor.ts/TextDiffEditor/clearInput
class TextDiffEditor:	override clearInput(): void {

		// Clear input listener
		this.inputListener.clear();

		// Dispose previous diff navigator
		this.diffNavigatorDisposables.clear();

		// Update/clear editor view state in settings
		this.doSaveOrClearTextDiffEditorViewState(this.input);

		// Clear Model
		const diffEditor = this.getControl();
		if (diffEditor) {
			diffEditor.setModel(null);
		}

		// Pass to super
		super.clearInput();
	}