pull/2224/merge
Chaoqian Xu 2 days ago committed by GitHub
commit 031ccce04f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,6 @@
---
"shell": patch
"shell-js": patch
---
Use &self instead of self to allow kill to be called multiple times.

@ -75,7 +75,7 @@ impl CommandChild {
}
/// Sends a kill signal to the child.
pub fn kill(self) -> crate::Result<()> {
pub fn kill(&self) -> crate::Result<()> {
self.inner.kill()?;
Ok(())
}

Loading…
Cancel
Save