public void release(Object consumer) {
		if (!domainObject.isClosed() && domainObject.isUsedBy(consumer)) {
			domainObject.release(consumer);
		}
	}
Notify the loaded {@link DomainObject} that the specified consumer is no longer using it.
When the last consumer invokes this method, the loaded {@link DomainObject} will be closed
and will become invalid.

@param consumer the consumer
Ghidra/Features/Base/src/main/java/ghidra/app/util/opinion/Loaded.java