private void notifyTaskCompleted(GScheduledTask task, GTaskResult result) {
		if (taskListener == null) {
			return;
		}
		try {
			taskListener.taskCompleted(task, result);
		}
		catch (Throwable unexpected) {
			Msg.error(this, "Unexpected exception notifying listener of task completed",
				unexpected);
		}
	}
Cancels all scheduled groups and tasks. The TaskMonitor for
the currently running task will be cancelled, but the task will continue to run until it
checks the monitor.
Ghidra/Framework/Project/src/main/java/ghidra/framework/task/GTaskManager.java