(activation Activation)
| 343 | } |
| 344 | |
| 345 | func (pool *activationStackPool) release(activation Activation) { |
| 346 | h, ok := activation.(*hierarchicalActivation) |
| 347 | if !ok || !h.poolAllocated { |
| 348 | return |
| 349 | } |
| 350 | h.parent = nil |
| 351 | h.child = nil |
| 352 | pool.Pool.Put(h) |
| 353 | } |
| 354 | |
| 355 | func newActivationStackPool() *activationStackPool { |
| 356 | return &activationStackPool{ |
no outgoing calls