src/vs/workbench/browser/parts/editor/textResourceEditor.ts/AbstractTextResourceEditor/clearInput
class AbstractTextResourceEditor:	override clearInput(): void {
		super.clearInput();

		// Clear Model
		this.editorControl?.setModel(null);
	}