mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 13:13:29 +00:00
added windows target to video stop callback
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user