private void setPendingLocationFromUpdateManager() {
		if (pendingLocation == null) {
			return;
		}

		ProgramLocation newLocation = pendingLocation;
		pendingLocation = null;
		if (SystemUtilities.isEqual(currentLocation, newLocation)) {
			return;
		}

		Program program = newLocation.getProgram();
		if (program.isClosed()) {
			// this method is called from an update manager, which means that the callback may
			// happen after the notification that the program was closed
			return;
		}

		setLocationNow(newLocation);
	}
Called when for location changes that are <b>external</b> to the function graph (e.g., when
the user clicks in Ghidra's Listing window)

@param newLocation the new location
Ghidra/Features/FunctionGraph/src/main/java/ghidra/app/plugin/core/functiongraph/FGProvider.java