Introduce single-address Free() and rename the previous one to Delete()
This commit is contained in:
1 parent
d20d2e9142
commit
a617e7918c
4 files changed
+52
-22
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user