releaseAllLocks Method
Release all locks currently held by this briefcase from the lock server after editing the associated elements. This is typically done on your behalf by pushChanges. If you are abandoning changes instead of pushing them, you should call abandonAllLocks instead. You may want to do it manually when abandoning all of your briefcase's local changes. You cannot release your locks if your briefcase contains local changes.
releaseAllLocks(): Promise<void>
@throws Error if the briefcase has local changes, or if any other error occurs while releasing the locks.
Returns - Promise
Defined in
- backend/src/LockControl.ts Line 84
Last Updated: 20 April, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.