add missing import during rebase

This commit is contained in:
Akarshan 2025-06-23 11:35:01 +05:30 committed by Louis
parent 62ba503b86
commit 7de694c0cd
No known key found for this signature in database
GPG Key ID: 44FA9F4D33C37DE2
3 changed files with 2 additions and 4 deletions

View File

@ -5,7 +5,7 @@ use std::{
path::PathBuf, path::PathBuf,
}; };
use tar::Archive; use tar::Archive;
use tauri::{App, Emitter, Manager}; use tauri::{App, Emitter, Listener, Manager};
use tauri_plugin_store::StoreExt; use tauri_plugin_store::StoreExt;
use tokio::sync::Mutex; use tokio::sync::Mutex;
use tokio::time::{sleep, Duration}; // Using tokio::sync::Mutex use tokio::time::{sleep, Duration}; // Using tokio::sync::Mutex

View File

@ -3,7 +3,6 @@ use std::{collections::HashMap, sync::Arc};
use crate::core::utils::download::DownloadManagerState; use crate::core::utils::download::DownloadManagerState;
use rand::{distributions::Alphanumeric, Rng}; use rand::{distributions::Alphanumeric, Rng};
use rmcp::{service::RunningService, RoleClient}; use rmcp::{service::RunningService, RoleClient};
use tokio::sync::Mutex;
use tokio::task::JoinHandle; use tokio::task::JoinHandle;
/// Server handle type for managing the proxy server lifecycle /// Server handle type for managing the proxy server lifecycle

View File

@ -7,7 +7,7 @@ use core::{
}; };
use reqwest::Client; use reqwest::Client;
use std::{collections::HashMap, sync::Arc}; use std::{collections::HashMap, sync::Arc};
use tauri::Manager; use tauri::{Emitter, Manager};
use tokio::sync::Mutex; use tokio::sync::Mutex;
@ -132,7 +132,6 @@ pub fn run() {
tauri::WindowEvent::CloseRequested { .. } => { tauri::WindowEvent::CloseRequested { .. } => {
if window.label() == "main" { if window.label() == "main" {
window.emit("kill-mcp-servers", ()).unwrap(); window.emit("kill-mcp-servers", ()).unwrap();
clean_up();
let state = window.app_handle().state::<AppState>(); let state = window.app_handle().state::<AppState>();
tauri::async_runtime::block_on(async { tauri::async_runtime::block_on(async {