From d5f3069d66a2073b24aad4925a0a30d67c45adee Mon Sep 17 00:00:00 2001 From: Yousaf Nabi Date: Wed, 21 Aug 2024 23:05:19 +0100 Subject: [PATCH] chore: set self.child_pid [ci skip] --- drivers/rust/driver/src/child_process.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rust/driver/src/child_process.rs b/drivers/rust/driver/src/child_process.rs index 326562cd..0609518d 100644 --- a/drivers/rust/driver/src/child_process.rs +++ b/drivers/rust/driver/src/child_process.rs @@ -118,7 +118,7 @@ impl ChildPluginProcess { #[cfg(not(windows))] process.kill(); #[cfg(windows)] - process::Command::new("taskkill.exe").arg("/PID").arg(child_pid.to_string()).arg("/F").arg("/T").output(); + process::Command::new("taskkill.exe").arg("/PID").arg(self.child_pid.to_string()).arg("/F").arg("/T").output(); } else { warn!("Child process with PID {} was not found", self.child_pid); }