()
| 15 | } |
| 16 | |
| 17 | func newSessionLifecycle() *sessionLifecycle { |
| 18 | l := &sessionLifecycle{ |
| 19 | cancels: make(map[int64]context.CancelFunc), |
| 20 | } |
| 21 | l.cond = sync.NewCond(&l.mu) |
| 22 | return l |
| 23 | } |
| 24 | |
| 25 | func (l *sessionLifecycle) initializeLocked() { |
| 26 | if l.cond == nil { |
no outgoing calls
no test coverage detected