Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
394
func
(s *Session) stopSession(data any) {
395
s.stop <- data
396
s.maybeScheduleClusterWriteLoop()
397
}
398
399
func
(s *Session) purgeChannels() {
400
for
len(s.send) > 0 {
Callers
6
cleanUp
Method · 0.95
Shutdown
Method · 0.80
EvictUser
Method · 0.80
NodeRestarted
Method · 0.80
replyDelUser
Function · 0.80
stopMultiplexingSession
Method · 0.80
Calls
1
maybeScheduleClusterWriteLoop
Method · 0.95
Tested by
no test coverage detected