We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4850ecc commit 76745d0Copy full SHA for 76745d0
1 file changed
packages/desktop/src-tauri/src/lib.rs
@@ -526,6 +526,7 @@ async fn spawn_local_server(
526
let timestamp = Instant::now();
527
loop {
528
if timestamp.elapsed() > Duration::from_secs(30) {
529
+ let _ = child.kill();
530
break Err(format!(
531
"Failed to spawn OpenCode Server. Logs:\n{}",
532
get_logs(app.clone()).await.unwrap()
0 commit comments