protected void close() {
		synchronized (this) {
			clearDomainObj();
		}

// TODO: This does not work since change manager is disposed before event ever gets sent out
//		fireEvent(new DomainObjectChangeRecord(DO_OBJECT_CLOSED));

		docs.dispose(); // clear out any unsent events to prevent listeners from trying
		for (DomainObjectChangeSupport queue : changeSupportMap.values()) {
			queue.dispose();
		}

		closeListeners.invoke().domainObjectClosed(this);
		closeListeners.clear();
	}
Set the {@link DomainFile} associated with this instance.
@param df domain file
@throws DomainObjectException if a severe failure occurs during the operation.
Ghidra/Framework/Project/src/main/java/ghidra/framework/data/DomainObjectAdapter.java