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

Method drop

flow-message/src/c.rs:35–39  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

33
34impl Drop for Message {
35 fn drop(&mut self) {
36 if let Some(inner) = self.0.as_ref() {
37 (inner.release_func)(inner.ptr)
38 }
39 }
40}
41
42impl Clone for Message {

Callers

nothing calls this directly

Calls 1

as_refMethod · 0.80

Tested by

no test coverage detected