diff --git a/src/video_stream.rs b/src/video_stream.rs index 0e1763f..2945281 100644 --- a/src/video_stream.rs +++ b/src/video_stream.rs @@ -69,6 +69,7 @@ pub fn start_stream( return ctx.callback_null("armatak_video_error", "Error receiving stop signal"); } + #[cfg(target_os = "windows")] Ok(if let Err(e) = child.kill() { return ctx.callback_data( "armatak_video_error",