Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/gliderlabs/ssh
/ getDoneChan
Method
getDoneChan
server.go:390–395 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
388
}
389
390
func
(srv *Server) getDoneChan() <-
chan
struct
{} {
391
srv.mu.Lock()
392
defer
srv.mu.Unlock()
393
394
return
srv.getDoneChanLocked()
395
}
396
397
func
(srv *Server) getDoneChanLocked()
chan
struct
{} {
398
if
srv.doneChan == nil {
Callers
2
Serve
Method · 0.95
TestServerClose
Function · 0.95
Calls
1
getDoneChanLocked
Method · 0.95
Tested by
1
TestServerClose
Function · 0.76