MCPcopy Create free account
hub / github.com/CyCoreSystems/ari-proxy / Close

Method Close

client/client.go:393–406  ·  view source on GitHub ↗

Close shuts down the client

()

Source from the content-addressed store, hash-verified

391
392// Close shuts down the client
393func (c *Client) Close() {
394 if c.cancel != nil {
395 c.cancel()
396 }
397
398 if c.bus != nil {
399 c.bus.Close()
400 }
401
402 if !c.closed && c.core != nil {
403 c.closed = true
404 c.core.ClientClosed()
405 }
406}
407
408// Application is the application operation accessor
409func (c *Client) Application() ari.Application {

Callers 1

NewFunction · 0.95

Calls 2

ClientClosedMethod · 0.80
CloseMethod · 0.65

Tested by

no test coverage detected