MCPcopy Create free account
hub / github.com/SeismicSystems/summit / drop

Method drop

types/src/reth.rs:223–229  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

221
222impl Drop for RethInstance {
223 fn drop(&mut self) {
224 //self.pid.kill().expect("could not kill reth");
225 //signal::kill(Pid::from_raw(child.id() as i32), Signal::SIGTERM).unwrap();
226 unsafe {
227 libc::kill(self.pid.id() as i32, libc::SIGTERM);
228 }
229 }
230}
231
232/// Builder for launching `reth`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected