added windows target to video stop callback

This commit is contained in:
Valmo Trindade
2025-04-06 16:46:33 -03:00
parent f9b5860f9b
commit 9fc7a0e1bd

View File

@@ -69,6 +69,7 @@ pub fn start_stream(
return ctx.callback_null("armatak_video_error", "Error receiving stop signal"); return ctx.callback_null("armatak_video_error", "Error receiving stop signal");
} }
#[cfg(target_os = "windows")]
Ok(if let Err(e) = child.kill() { Ok(if let Err(e) = child.kill() {
return ctx.callback_data( return ctx.callback_data(
"armatak_video_error", "armatak_video_error",