protected void closeDTM(DataTypeManagerInfo dtmInfo) {
		beforeCloseDataTypeManager(dtmInfo);
		openDTMs.remove(dtmInfo.dtm.getUniversalID());

		if (dtmInfo.domainObject != null) {
			dtmInfo.domainObject.release(this);
		}
		dtmInfo.dtm.close();

		afterCloseDataTypeManager(dtmInfo);
	}
Simple, non-ui implementation of the {@link DataTypeArchiveService} interface.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/archive/DefaultDataTypeArchiveService.java