free up drec.peers when we're done with it
This commit is contained in:
parent
9c730661bc
commit
cc0ba20627
|
@ -223,6 +223,8 @@ func (t *tagTracer) nearFirstPeers(msg *Message) []peer.ID {
|
|||
nearFirstPeers = append(nearFirstPeers, p)
|
||||
}
|
||||
}
|
||||
// we're done with the peers map and can reclaim the memory
|
||||
drec.peers = nil
|
||||
return nearFirstPeers
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue