private void notifyAnalysisEnded(boolean isCancelled) {
		for (AnalysisTaskList list : taskArray) {
			list.notifyAnalysisEnded(program);
		}

		for (AutoAnalysisManagerListener listener : listeners) {
			listener.analysisEnded(this, isCancelled);
		}
		log.clear();
	}
If invoked from an analysis task, treat as a yield and allow
task queue to be processed.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/analysis/AutoAnalysisManager.java