src/vs/workbench/contrib/userDataSync/browser/userDataSyncMergesView.ts/UserDataSyncMergesViewPane/close
class UserDataSyncMergesViewPane:	private close(previewResource: IUserDataSyncResource): void {
		for (const input of this.editorService.editors) {
			if (input instanceof DiffEditorInput) {
				// Close all diff editors
				if (isEqual(previewResource.remote, input.secondary.resource)) {
					input.dispose();
				}
			}
			// Close all preview editors
			else if (isEqual(previewResource.accepted, input.resource)) {
				input.dispose();
			}
		}
	}