MCPcopy Create free account
hub / github.com/SSheldon/rust-objc / drop

Method drop

src/rc/weak.rs:35–39  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

33
34impl Drop for WeakPtr {
35 fn drop(&mut self) {
36 unsafe {
37 runtime::objc_destroyWeak(self.0.get());
38 }
39 }
40}
41
42impl Clone for WeakPtr {

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected