implement the drop trait for mediagraph

This commit is contained in:
Jules Youngberg 2022-06-12 20:49:44 -07:00
parent c576e0ad34
commit 51ec5928dc

View File

@ -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::*;