MCPcopy Create free account
hub / github.com/V2RaySSR/RealityChecker / cleanup

Method cleanup

internal/cmd/root.go:127–137  ·  view source on GitHub ↗

cleanup 清理资源

()

Source from the content-addressed store, hash-verified

125
126// cleanup 清理资源
127func (r *RootCmd) cleanup() {
128 if r.batchManager != nil {
129 r.batchManager.Stop()
130 }
131 if r.engine != nil {
132 r.engine.Stop()
133 }
134 if r.cancel != nil {
135 r.cancel()
136 }
137}

Callers 1

ExecuteMethod · 0.95

Calls 1

StopMethod · 0.45

Tested by

no test coverage detected