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

Method ClientClosed

client/client.go:103–109  ·  view source on GitHub ↗

clientClosed is called any time a derived ARI client is closed; if the reference counter is ever dropped to zero, the core is also shut down

()

Source from the content-addressed store, hash-verified

101// clientClosed is called any time a derived ARI client is closed; if the
102// reference counter is ever dropped to zero, the core is also shut down
103func (c *core) ClientClosed() {
104 c.refCounter--
105
106 if c.refCounter < 1 {
107 c.close()
108 }
109}
110
111// close shuts down the core
112func (c *core) close() {

Callers 1

CloseMethod · 0.80

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected