The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(voice): shut down always-on processing during capture shutdown
Steven Enamakel43d8310edf5c
diff --git a/crates/openhuman-core/src/voice/always_on/processor_tests.rs b/crates/openhuman-core/src/voice/always_on/processor_tests.rsindex eb627ddd16..e1d337fef1 100644--- a/crates/openhuman-core/src/voice/always_on/processor_tests.rs+++ b/crates/openhuman-core/src/voice/always_on/processor_tests.rs@@ -11,6 +11,7 @@ fn core_shutdown_stops_and_joins_always_on_processing() {]).output().unwrap();+ assert!(String::from_utf8_lossy(&output.stdout).contains("1 passed"));assert!(output.status.success(),"shutdown fixture failed: {}{}",diff --git a/crates/openhuman-core/src/voice/capture_lease.rs b/crates/openhuman-core/src/voice/capture_lease.rsindex e2a5df134a..bf96579ce6 100644--- a/crates/openhuman-core/src/voice/capture_lease.rs+++ b/crates/openhuman-core/src/voice/capture_lease.rs@@ -378,6 +378,7 @@ fn register_shutdown() {});}pub(crate) async fn shutdown_capture() {+ super::always_on::shutdown().await;HOOK.store(false, Ordering::SeqCst);if let Err(error) = close_all().await {log::warn!("[voice_capture] shutdown cleanup pending: {error}");