Introduce single-address Free() and rename the previous one to Delete()

This commit is contained in:
Bryan Boreham committed 2015-06-10 17:21:16 +01:00
1 parent d20d2e9142
commit a617e7918c
4 files changed
+52 -22

No files matched your search

+1
View File
@@ -57,6 +57,7 @@ func (c *claim) Try(alloc *Allocator) bool {
c.resultChan <- err
return true
}
alloc.debugln("Claimed", c.addr, "for", c.ident)
alloc.addOwned(c.ident, c.addr)
c.resultChan <- nil
return true