public void removeService(Class<?> interfaceClass, Object service) {
		List<Object> list = servicesByInterface.get(interfaceClass);
		if (list != null) {
			list.remove(service);
			if (list.size() == 0) {
				servicesByInterface.remove(interfaceClass);
			}
		}
		for (ServiceListener serviceListener : serviceListeners) {
			serviceListener.serviceRemoved(interfaceClass, service);
		}
	}
Remove the service from the tool.
@param interfaceClass the service interface
@param service the service implementation
Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/mgr/ServiceManager.java