fix: replace tokio::runtime::Handle with tauri::async_runtime::handle

This commit is contained in:
Tunglies
2025-08-28 04:58:24 +08:00
parent d23d1d9a1d
commit 53688f332f
2 changed files with 6 additions and 7 deletions

View File

@@ -8,7 +8,6 @@ use tauri::{async_runtime, async_runtime::JoinHandle};
pub struct AsyncHandler;
impl AsyncHandler {
#[allow(dead_code)]
pub fn handle() -> async_runtime::RuntimeHandle {
async_runtime::handle()
}