add missing import during rebase
This commit is contained in:
parent
62ba503b86
commit
7de694c0cd
@ -5,7 +5,7 @@ use std::{
|
||||
path::PathBuf,
|
||||
};
|
||||
use tar::Archive;
|
||||
use tauri::{App, Emitter, Manager};
|
||||
use tauri::{App, Emitter, Listener, Manager};
|
||||
use tauri_plugin_store::StoreExt;
|
||||
use tokio::sync::Mutex;
|
||||
use tokio::time::{sleep, Duration}; // Using tokio::sync::Mutex
|
||||
|
||||
@ -3,7 +3,6 @@ use std::{collections::HashMap, sync::Arc};
|
||||
use crate::core::utils::download::DownloadManagerState;
|
||||
use rand::{distributions::Alphanumeric, Rng};
|
||||
use rmcp::{service::RunningService, RoleClient};
|
||||
use tokio::sync::Mutex;
|
||||
use tokio::task::JoinHandle;
|
||||
|
||||
/// Server handle type for managing the proxy server lifecycle
|
||||
|
||||
@ -7,7 +7,7 @@ use core::{
|
||||
};
|
||||
use reqwest::Client;
|
||||
use std::{collections::HashMap, sync::Arc};
|
||||
use tauri::Manager;
|
||||
use tauri::{Emitter, Manager};
|
||||
|
||||
use tokio::sync::Mutex;
|
||||
|
||||
@ -132,7 +132,6 @@ pub fn run() {
|
||||
tauri::WindowEvent::CloseRequested { .. } => {
|
||||
if window.label() == "main" {
|
||||
window.emit("kill-mcp-servers", ()).unwrap();
|
||||
clean_up();
|
||||
let state = window.app_handle().state::<AppState>();
|
||||
|
||||
tauri::async_runtime::block_on(async {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user