Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
}
34
impl<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
44
pub struct Capturer {
Callers
nothing calls this directly
Calls
2
unmap
Method · 0.80
is_null
Method · 0.45
Tested by
no test coverage detected