()
| 544 | |
| 545 | #[tauri::command] |
| 546 | pub async fn remote_connect_stop() -> Result<(), String> { |
| 547 | let holder = get_service_holder(); |
| 548 | let guard = holder.read().await; |
| 549 | if let Some(service) = guard.as_ref() { |
| 550 | service.stop_relay().await; |
| 551 | } |
| 552 | Ok(()) |
| 553 | } |
| 554 | |
| 555 | #[tauri::command] |
| 556 | pub async fn remote_connect_stop_bot() -> Result<(), String> { |
nothing calls this directly
no test coverage detected