YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
release-app: fix pipe manager windows
Louis Beaumont1928106aa3d6
diff --git a/screenpipe-server/src/pipe_manager.rs b/screenpipe-server/src/pipe_manager.rsindex a6aa27275..aa580a12a 100644--- a/screenpipe-server/src/pipe_manager.rs+++ b/screenpipe-server/src/pipe_manager.rs@@ -231,7 +231,7 @@ impl PipeManager {// Send kill signal and wait for confirmationhandle.kill_tx.send(()).await?;-+// Wait a bit for the process to actually terminatetokio::time::sleep(tokio::time::Duration::from_millis(100)).await;@@ -244,13 +244,12 @@ impl PipeManager {}#[cfg(windows)]{- use windows::Win32::System::Threading::{OpenProcess, PROCESS_ACCESS_RIGHTS};- use windows::Win32::Foundation::HANDLE;+ use windows::Win32::System::Threading::{OpenProcess, PROCESS_ACCESS_RIGHTS, TerminateProcess};unsafe {if let Ok(h_process) = OpenProcess(PROCESS_ACCESS_RIGHTS(0x0001), // PROCESS_TERMINATE access rightfalse,- handle.pid as u32+ handle.pid as u32,) {let _ = TerminateProcess(h_process, 1);}