src/vs/workbench/api/browser/mainThreadCustomEditors.ts/MainThreadCustomEditors/$unregisterEditorProvider
class MainThreadCustomEditors:	public $unregisterEditorProvider(viewType: string): void {
		const provider = this._editorProviders.get(viewType);
		if (!provider) {
			throw new Error(`No provider for ${viewType} registered`);
		}

		provider.dispose();
		this._editorProviders.delete(viewType);

		this._customEditorService.models.disposeAllModelsForView(viewType);
	}