Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/redis/go-redis
/ closeTheCn
Method
closeTheCn
pubsub.go:203–210 ·
view source on GitHub ↗
(reason error)
Source
from the content-addressed store, hash-verified
201
}
202
203
func
(c *PubSub) closeTheCn(reason error) error {
204
if
c.cn == nil {
205
return
nil
206
}
207
err := c.closeConn(c.cn)
208
c.cn = nil
209
return
err
210
}
211
212
func
(c *PubSub) Close() error {
213
c.mu.Lock()
Callers
2
reconnect
Method · 0.95
Close
Method · 0.95
Calls
1
closeConn
Method · 0.80
Tested by
no test coverage detected