(ctx context.Context, cn *Conn, reason error)
| 1395 | } |
| 1396 | |
| 1397 | func (p *ConnPool) Remove(ctx context.Context, cn *Conn, reason error) { |
| 1398 | p.removeConnInternal(ctx, cn, reason, true) |
| 1399 | } |
| 1400 | |
| 1401 | // RemoveWithoutTurn removes a connection from the pool without freeing a turn. |
| 1402 | // This should be used when removing a connection from a context that didn't acquire |