MCPcopy
hub / github.com/grpc/grpc-go / Stop

Method Stop

internal/stubserver/stubserver.go:271–276  ·  view source on GitHub ↗

Stop stops ss and cleans up all resources it consumed.

()

Source from the content-addressed store, hash-verified

269
270// Stop stops ss and cleans up all resources it consumed.
271func (ss *StubServer) Stop() {
272 for i := len(ss.cleanups) - 1; i >= 0; i-- {
273 ss.cleanups[i]()
274 }
275 ss.cleanups = nil
276}
277
278func parseCfg(r *manual.Resolver, s string) *serviceconfig.ParseResult {
279 g := r.CC().ParseServiceConfig(s)

Calls

no outgoing calls