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