MCPcopy Create free account
hub / github.com/RustOtomeLab/RustEng / drop

Method drop

src/media/video_player.rs:148–153  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

146
147impl Drop for VideoPlayer {
148 fn drop(&mut self) {
149 self.stop();
150 if let Some(handle) = self.decode_thread.take() {
151 let _ = handle.join();
152 }
153 }
154}
155
156fn decode_loop(

Callers

nothing calls this directly

Calls 1

stopMethod · 0.45

Tested by

no test coverage detected