@Override
	public Transaction openTransaction(String description)
			throws TerminatedTransactionException, IllegalStateException {
		return new Transaction() {

			int txId = startTransaction(description);

			@Override
			protected boolean endTransaction(boolean commit) {
				DomainObjectAdapterDB.this.endTransaction(txId, commit);
				return commit;
			}

			@Override
			public boolean isSubTransaction() {
				return true;
			}
		};
	}
Release the modification lock which is associated with the specified LockingTaskHandler.
Ghidra/Framework/Project/src/main/java/ghidra/framework/data/DomainObjectAdapterDB.java