Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(runtime): handle missing service gracefully on shutdown

Steven Enamakeld4d350bba482
diff --git a/src/core/runtime/services.rs b/src/core/runtime/services.rs
index 86b9ccbee0..69aa943e55 100644
--- a/src/core/runtime/services.rs
+++ b/src/core/runtime/services.rs
@@ -396,15 +396,6 @@ async fn run_legacy_migrations(config: &Config) {
}
}
-fn spawn_mcp_reconnect_supervisor(config: Config) {
- static SUPERVISOR_SPAWNED: Once = Once::new();
- SUPERVISOR_SPAWNED.call_once(|| {
- tokio::spawn(async move {
- crate::openhuman::mcp::registry::supervisor::run(config).await;
- });
- });
-}
-
/// Auto-connect Socket.IO to the backend when enabled by the service selection.
pub fn spawn_socket_auto_connect(
services: ServiceSet,