Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/name5566/leaf
/ Close
Method
Close
network/tcp_client.go:120–130 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
118
}
119
120
func
(client *TCPClient) Close() {
121
client.Lock()
122
client.closeFlag = true
123
for
conn :=
range
client.conns {
124
conn.Close()
125
}
126
client.conns = nil
127
client.Unlock()
128
129
client.wg.Wait()
130
}
Callers
nothing calls this directly
Calls
1
Close
Method · 0.65
Tested by
no test coverage detected