src/vs/editor/standalone/browser/standaloneCodeEditor.ts/StandaloneEditor/_postDetachModelCleanup
class StandaloneEditor:	override _postDetachModelCleanup(detachedModel: ITextModel): void {
		super._postDetachModelCleanup(detachedModel);
		if (detachedModel && this._ownsModel) {
			detachedModel.dispose();
			this._ownsModel = false;
		}
	}