@Override
	public synchronized boolean delete() {

		if (isClosed() || isReadOnly())
			return false;

		boolean success = false;
		try {
			success = super.delete();
			if (versionOutFile != null) {
				try {
					versionOutFile.abort();
				}
				catch (IOException e1) {
					// ignored
				}
				versionOutFile = null;
			}
			if (changeMap != null) {
				changeMap.abort();
				changeMap = null;
			}
		}
		finally {
			if (bfMgr != null) {
				bfMgr.updateEnded(checkinId);
			}
		}
		return success;
	}
Output old data for a specified buffer if required for version file.
@param index buffer index
@throws IOException
Ghidra/Framework/DB/src/main/java/db/buffers/LocalManagedBufferFile.java