Skip to content

dataset.finalizer

Source (upstream pre-purge) Current
File consensus/ethash/ethash.go ethash.go
Symbol dataset.finalizer dataset.finalizer
Ref dde2da0ef~1 etc/v1.17.3-full-node

3-way merge — purge → getc ← upstream

pre-purge
// finalizer closes any file handlers and memory maps open.
func (d *dataset) finalizer() {
if d.mmap != nil {
d.mmap.Unmap()
d.dump.Close()
d.mmap, d.dump = nil, nil
}
}
core-geth validation — **Identical** ✅ | | | |---|---| | File | [`ethash.go`](https://github.com/etclabscore/core-geth/blob/v1.12.20/consensus/ethash/ethash.go) | | Symbol | `dataset.finalizer` | | Ref | `v1.12.20` |

← Consensus & Ethash