mcp_server_collection now also a library

own_assist now bundles the server collection by default
This commit is contained in:
2026-05-14 17:41:39 +02:00
parent 18221b7b56
commit d43498154e
19 changed files with 716 additions and 143 deletions
+6 -6
View File
@@ -108,11 +108,11 @@ fn start_recording_blocking_with_parameters(
loop {
thread::sleep(Duration::from_millis(100));
if let Ok(guard) = should_stop.lock() {
if *guard {
debug!("Stopping recording gracefully");
break;
}
if let Ok(guard) = should_stop.lock()
&& *guard
{
debug!("Stopping recording gracefully");
break;
}
}
@@ -173,7 +173,7 @@ pub fn stop_and_take_data(
.ok_or(RecordingError::RecordingAlreadyStopped)?;
let samples = handler.samples.clone();
let spec = handler.spec.clone();
let spec = handler.spec;
handler.stop_recording()?;