aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/voice/streamer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/voice/streamer.rs b/src/voice/streamer.rs
index 0f0e9ef..faf467c 100644
--- a/src/voice/streamer.rs
+++ b/src/voice/streamer.rs
@@ -35,7 +35,7 @@ impl Read for ChildContainer {
impl Drop for ChildContainer {
fn drop (&mut self) {
- if let Err(e) = self.0.wait() {
+ if let Err(e) = self.0.kill() {
debug!("[Voice] Error awaiting child process: {:?}", e);
}
}