public void close(Program program) {
		Integer id = openPrograms.remove(program);
		if (id != null) {
			if (id.intValue() >= 0) {
				program.endTransaction(id.intValue(), true);
			}
			program.release(this);
		}
	}
Closes the given program. Any changes in the program will be lost.

@param program the program to close.
Ghidra/Features/Base/src/main/java/ghidra/base/project/GhidraProject.java