public void clear() {
		currentSelection = null;
		decompilerMgr.cancelAll();
		setDecompileData(new EmptyDecompileData("No Function"));
	}
clears all internal state and releases all resources. Called when the provider is no longer
visible or the currently displayed program is closed.
Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/component/DecompilerController.java