@Override
	public void close() {
		// first copy and reset listeners in case someone tries to remove listener during callback.
		List<FidQueryCloseListener> currentListeners = listeners;
		listeners = new ArrayList<>();
		for (FidQueryCloseListener listener : currentListeners) {
			listener.fidQueryClosed(this);
		}
		listeners.clear();
		for (FidDB fidDb : fidDbList) {
			fidDb.close();
		}
	}
Closes this FidQueryService which in turn closes all of its open Fid databases.  It also
notifies any registered listeners that it has been closed.
Ghidra/Features/FunctionID/src/main/java/ghidra/feature/fid/db/FidQueryService.java