API Reference > imodeljs-backend > iModels > ConcurrencyControl > abandonResources abandonResources Method Beta Abandons any locks that are held, any Codes that are reserved, and any pending requests. You can call this after calling IModelDb.abandonChanges, but only if you have no local txn to push. This is called automatically by BriefcaseDb.pushChanges in the event that there are no changes to push. abandonResources(requestContext: AuthorizedClientRequestContext): Promise<void> throws IModelError if there are any pending txns that are waiting to be pushed to the iModel server. Parameter Type Description requestContext AuthorizedClientRequestContext Returns - Promise<void> Defined in core/backend/src/ConcurrencyControl.ts Line 443 Last Updated: 11 June, 2024