refactor: replace tokio Mutex with parking_lot Mutex for improved performance

This commit is contained in:
Tunglies
2025-08-16 02:43:37 +08:00
parent cf1fbb63c4
commit 9cc6dde999
4 changed files with 6 additions and 6 deletions

View File

@@ -181,9 +181,7 @@ mod app_init {
builder = builder.plugin(tauri_plugin_devtools::init());
}
builder.manage(std::sync::Mutex::new(
state::lightweight::LightWeightState::default(),
))
builder.manage(Mutex::new(state::lightweight::LightWeightState::default()))
}
/// Setup deep link handling