mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-28 14:47:16 +00:00
Close compressor (#491)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
This commit is contained in:
parent
a450f5c341
commit
bbf96d0580
@ -412,6 +412,7 @@ func (d *Domain) mergeFiles(files [][NumberOfTypes]*filesItem, r DomainRanges, m
|
||||
if err = comp.Compress(); err != nil {
|
||||
return outItems, err
|
||||
}
|
||||
comp.Close()
|
||||
comp = nil
|
||||
if outItem.decompressor, err = compress.NewDecompressor(datPath); err != nil {
|
||||
return outItems, fmt.Errorf("merge %s remove vals decompressor(no val) %s [%d-%d]: %w", d.filenameBase, fType.String(), startTxNum, endTxNum, err)
|
||||
|
Loading…
Reference in New Issue
Block a user