MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / stop

Method stop

src/main.rs:116–121  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

114 }
115
116 fn stop(&mut self) {
117 self.stop.store(true, std::sync::atomic::Ordering::Relaxed);
118 if let Some(h) = self.handle.take() {
119 let _ = h.join();
120 }
121 }
122}
123
124impl Drop for Spinner {

Callers 2

doneMethod · 0.45
dropMethod · 0.45

Calls 2

storeMethod · 0.80
takeMethod · 0.45

Tested by

no test coverage detected