public void setDeleteOnClose(boolean toDelete) {
		deleteOnClose = toDelete;
	}
Updates the flag passed to this project at construction time.

@param toDelete true to delete on close; false in the opposite condition
Ghidra/Features/Base/src/main/java/ghidra/base/project/GhidraProject.java