good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 45fca44c authored by Martin Holst Swende's avatar Martin Holst Swende
Browse files

p2p/tracker: properly clean up fulfilled requests

parent caea6c46
No related branches found
No related tags found
No related merge requests found
......@@ -186,6 +186,7 @@ func (t *Tracker) Fulfil(peer string, version uint, code uint64, id uint64) {
}
// Everything matches, mark the request serviced and meter it
t.expire.Remove(req.expire)
delete(t.pending, id)
if req.expire.Prev() == nil {
t.wake.Stop()
t.schedule()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment