()
| 375 | } |
| 376 | |
| 377 | func (s *Session) maybeScheduleClusterWriteLoop() { |
| 378 | if s.multi != nil { |
| 379 | s.multi.scheduleClusterWriteLoop() |
| 380 | return |
| 381 | } |
| 382 | if s.isMultiplex() { |
| 383 | s.scheduleClusterWriteLoop() |
| 384 | } |
| 385 | } |
| 386 | |
| 387 | func (s *Session) detachSession(fromTopic string) { |
| 388 | if atomic.LoadInt32(&s.terminating) == 0 { |
no test coverage detected