public GhidraBundle remove(ResourceFile bundleFile) {
		writeLock.lock();
		try {
			GhidraBundle bundle = bundlesByFile.remove(bundleFile);
			bundlesByLocation.remove(bundle.getLocationIdentifier());
			return bundle;
		}
		finally {
			writeLock.unlock();
		}
	}
Removes the mapping for a bundle with a given file.
@param bundleFile a bundle file
@return the bundle removed
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/osgi/BundleMap.java