public void release(FileSystemRef ref) {
		synchronized (this) {
			// search the refs list backwards (using identity compare) because the most
			// recently added ref is the mostly likely to be removed.
			for (int i = refs.size() - 1; i >= 0; i--) {
				FileSystemRef tmp = refs.get(i);
				if (tmp == ref) {
					refs.remove(i);
					touch();
					ref = null;
					break;
				}
			}
		}
		if (ref != null) {
			throw new IllegalArgumentException("Tried to remove unknown reference to " + fs);
		}
		listeners.invoke().onFilesystemRefChange(fs, this);
	}
Releases an existing {@link FileSystemRef} and broadcasts
{@link FileSystemEventListener#onFilesystemRefChange(GFileSystem, FileSystemRefManager)}
to listeners.

@param ref the {@link FileSystemRef} to release.
Ghidra/Features/Base/src/main/java/ghidra/formats/gfilesystem/FileSystemRefManager.java