MCPcopy Create free account
hub / github.com/RustCV/RustCV / drop

Method drop

rustcv-backend-avf/src/stream.rs:190–197  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

188
189impl Drop for AvfStream {
190 fn drop(&mut self) {
191 if self.is_streaming {
192 unsafe {
193 self.session.stopRunning();
194 }
195 self.is_streaming = false;
196 }
197 }
198}
199
200// ---------------------------------------------------------------------------

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected