in refcount.go [59:71]
func (c *RefCount) Release() bool {
switch c.count.Add(^uint32(0)) {
case refCountFree:
if c.Action != nil {
c.Action(c.err)
}
return true
case refCountOops:
panic("ref count released too often")
default:
return false
}
}