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

Method drop

src/extraction_worker.rs:187–192  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

185
186impl Drop for WorkerHandle {
187 fn drop(&mut self) {
188 // Close the worker's stdin first; otherwise it sits in `read_exact`
189 // forever and `wait()` deadlocks waiting for it to exit.
190 drop(self.stdin.take());
191 let _ = self.child.wait();
192 }
193}
194
195impl WorkerPool {

Callers

nothing calls this directly

Calls 1

takeMethod · 0.45

Tested by

no test coverage detected