MCPcopy
hub / github.com/tinode/chat / stopSession

Method stopSession

server/session.go:394–397  ·  view source on GitHub ↗
(data any)

Source from the content-addressed store, hash-verified

392}
393
394func (s *Session) stopSession(data any) {
395 s.stop <- data
396 s.maybeScheduleClusterWriteLoop()
397}
398
399func (s *Session) purgeChannels() {
400 for len(s.send) > 0 {

Callers 6

cleanUpMethod · 0.95
ShutdownMethod · 0.80
EvictUserMethod · 0.80
NodeRestartedMethod · 0.80
replyDelUserFunction · 0.80

Calls 1

Tested by

no test coverage detected