Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ Close
Method
Close
coderd/tailnet.go:610–614 ·
view source on GitHub ↗
Close the DERP client
()
Source
from the content-addressed store, hash-verified
608
609
// Close the DERP client
610
func
(a *pollingDERPClient) Close() error {
611
a.cancel()
612
<-a.loopDone
613
return
nil
614
}
615
616
func
(a *pollingDERPClient) Recv() (*tailcfg.DERPMap, error) {
617
select
{
Callers
nothing calls this directly
Calls
1
cancel
Method · 0.45
Tested by
no test coverage detected