src/vs/workbench/api/browser/mainThreadSCM.ts/MainThreadSCM/$unregisterSourceControl
class MainThreadSCM:	$unregisterSourceControl(handle: number): void {
		const repository = this._repositories.get(handle);

		if (!repository) {
			return;
		}

		this._repositoryDisposables.get(handle)!.dispose();
		this._repositoryDisposables.delete(handle);

		repository.dispose();
		this._repositories.delete(handle);
	}