MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / drop

Method drop

flow-rs/src/broker.rs:106–110  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

104
105impl Drop for BrokerClient {
106 fn drop(&mut self) {
107 if self.count.fetch_sub(1, Ordering::AcqRel) == 1 {
108 self.close();
109 }
110 }
111}
112
113impl BrokerClient {

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected