src/vs/workbench/contrib/customEditor/common/customEditorModelManager.ts/CustomEditorModelManager/disposeAllModelsForView
class CustomEditorModelManager:	public disposeAllModelsForView(viewType: string): void {
		for (const [key, value] of this._references) {
			if (value.viewType === viewType) {
				value.model.then(x => x.dispose());
				this._references.delete(key);
			}
		}
	}