releaseRef decrements the reference count on the child policy wrapper. The return value indicates whether the released reference was the last one.
()
| 93 | // releaseRef decrements the reference count on the child policy wrapper. The |
| 94 | // return value indicates whether the released reference was the last one. |
| 95 | func (c *childPolicyWrapper) releaseRef() bool { |
| 96 | c.refCnt-- |
| 97 | return c.refCnt == 0 |
| 98 | } |
| 99 | |
| 100 | // lamify causes the child policy wrapper to return a picker which will always |
| 101 | // fail requests. This is used when the wrapper runs into errors when trying to |
no outgoing calls
no test coverage detected