@Override
	public void removeEventsListener(VirtualMachine vm, JdiEventsListener listener) {
		if (vm != null) {
			eventHandlers.get(vm).removeEventsListener(listener);
		}
		else {
			globalEventHandler.removeEventsListener(listener);
		}
	}
NB: can't use manager.connectedVMs, because technically, other things could be using the
JDI outside of this manager.
Ghidra/Debug/Debugger-jpda/src/main/java/ghidra/dbg/jdi/manager/impl/JdiManagerImpl.java