Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coder/coder
/ Close
Method
Close
enterprise/tailnet/connio.go:279–289 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
277
}
278
279
func
(c *connIO) Close() error {
280
c.mu.Lock()
281
defer
c.mu.Unlock()
282
if
c.closed {
283
return
nil
284
}
285
c.cancel()
286
c.closed = true
287
close(c.responses)
288
return
nil
289
}
Callers
2
recvLoop
Method · 0.95
CoordinatorClose
Method · 0.95
Calls
3
Lock
Method · 0.45
Unlock
Method · 0.45
cancel
Method · 0.45
Tested by
no test coverage detected