Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudbase/garm
/ Close
Method
Close
websocket/websocket.go:154–159 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
152
}
153
154
func
(h *Hub) Close() error {
155
h.once.Do(
func
() {
156
close(h.quit)
157
})
158
return
nil
159
}
160
161
func
(h *Hub) Stop() error {
162
h.mux.Lock()
Callers
1
Stop
Method · 0.95
Calls
1
Do
Method · 0.80
Tested by
no test coverage detected