@Override
	public synchronized void projectOpened(Project project) {
		if (project == currentProject) {
			return;
		}
		if (currentProject != null) {
			throw new AssertException("Unexpected - two or more projects active");
		}
		currentProject = project;
		findOpenFiles();
		currentProject.getProjectData().addDomainFolderChangeListener(fileListener);
		startSnapshotTimer(false);
	}
Tells a plugin that it is no longer needed.  The plugin should remove itself
from anything that it is registered to and release any resources.  Also,
any plugin that overrides this method should call super.dispose().
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/misc/RecoverySnapshotMgrPlugin.java