mcp_server_collection now also a library
own_assist now bundles the server collection by default
This commit is contained in:
@@ -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()?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user