@Override
	public void jobFinished(GraphJob job) {
		String methodName = "jobFinished()";
		trace(methodName + " " + job);
		SystemUtilities.assertThisIsTheSwingThread(
			"jobFinished() must be called in the Swing thread.");
		synchronized (this) {
			if (currentJob != null && job != currentJob) {
				throw new AssertException(
					"Received a callback from a job that is not my current job! Current job: " +
						currentJob + " and finished job: " + job);
			}

			trace("\t" + methodName + " setting currentJob to null");
			currentJob = null;
			maybeRunNextJob();
		}
	}
Clears any pending jobs, stops the currently running job ungracefully and updates this
class so that any new jobs added will be ignored.
Ghidra/Framework/Graph/src/main/java/ghidra/graph/job/GraphJobRunner.java