implement the drop trait for mediagraph
This commit is contained in:
parent
c576e0ad34
commit
51ec5928dc
|
@ -123,6 +123,14 @@ impl Mediagraph {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl Drop for Mediagraph {
|
||||||
|
fn drop(&mut self) {
|
||||||
|
unsafe {
|
||||||
|
mediagraph_Mediagraph_Mediagraph_destructor(self.graph);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
pub mod pose {
|
pub mod pose {
|
||||||
//! Pose detection utilities.
|
//! Pose detection utilities.
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user