mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-08 20:11:21 +00:00
save
This commit is contained in:
parent
f110e80dab
commit
d7b01ea68f
@ -201,7 +201,7 @@ func (li *LocalityIndex) MakeContext() *ctxLocalityIdx {
|
|||||||
file: li.roFiles.Load(),
|
file: li.roFiles.Load(),
|
||||||
bm: li.roBmFile.Load(),
|
bm: li.roBmFile.Load(),
|
||||||
}
|
}
|
||||||
if x.file.src != nil {
|
if x.file != nil && x.file.src != nil {
|
||||||
x.file.src.refcount.Add(1)
|
x.file.src.refcount.Add(1)
|
||||||
}
|
}
|
||||||
return x
|
return x
|
||||||
|
Loading…
Reference in New Issue
Block a user