(&mut self)
| 221 | |
| 222 | impl 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`. |
nothing calls this directly
no outgoing calls
no test coverage detected