MCPcopy Create free account
hub / github.com/Recordscript/recordscript / drop

Method drop

libs/scrap/src/dxgi/mod.rs:35–41  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

33}
34impl<T> Drop for ComPtr<T> {
35 fn drop(&mut self) {
36 unsafe {
37 if !self.is_null() {
38 (*(self.0 as *mut IUnknown)).Release();
39 }
40 }
41 }
42}
43
44pub struct Capturer {

Callers

nothing calls this directly

Calls 2

unmapMethod · 0.80
is_nullMethod · 0.45

Tested by

no test coverage detected