MCPcopy Index your code
hub / github.com/coder/coder / ClearAgentAPI

Method ClearAgentAPI

agent/agentsocket/server.go:131–133  ·  view source on GitHub ↗

ClearAgentAPI clears the agent API client.

()

Source from the content-addressed store, hash-verified

129
130// ClearAgentAPI clears the agent API client.
131func (s *Server) ClearAgentAPI() {
132 s.service.ClearAgentAPI()
133}
134
135func (s *Server) acceptConnections() {
136 // In an edge case, Close() might race with acceptConnections() and set s.listener to nil.

Callers 2

runMethod · 0.45

Calls

no outgoing calls

Tested by 1