Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/encodeous/nylon
/ Cleanup
Method
Cleanup
core/nylon.go:312–322 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
310
}
311
312
func
(n *Nylon) Cleanup() error {
313
n.PingBuf.Stop()
314
for
_, ph :=
range
n.GetNode(n.LocalCfg.Id).Prefixes {
315
ph.Stop()
316
}
317
318
n.CleanupRouter()
319
n.Trace.Cleanup()
320
321
return
n.cleanupWireGuard()
322
}
Callers
3
mainLoop
Method · 0.95
genTestPair
Function · 0.45
goroutineLeakCheck
Function · 0.45
Calls
4
CleanupRouter
Method · 0.95
cleanupWireGuard
Method · 0.95
Stop
Method · 0.65
GetNode
Method · 0.45
Tested by
2
genTestPair
Function · 0.36
goroutineLeakCheck
Function · 0.36