(fromTopic string)
| 385 | } |
| 386 | |
| 387 | func (s *Session) detachSession(fromTopic string) { |
| 388 | if atomic.LoadInt32(&s.terminating) == 0 { |
| 389 | s.detach <- fromTopic |
| 390 | s.maybeScheduleClusterWriteLoop() |
| 391 | } |
| 392 | } |
| 393 | |
| 394 | func (s *Session) stopSession(data any) { |
| 395 | s.stop <- data |
no test coverage detected