mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-05-21 10:52:15 +00:00
Optimized app handle dereferencing
This commit is contained in:
parent
d46688f364
commit
e728290104
@ -889,7 +889,7 @@ pub async fn resume_shortcuts(_token: APIToken) -> Json<ShortcutResponse> {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
match register_shortcut_with_callback(&app_handle, shortcut, *shortcut_id, event_sender.clone()) {
|
match register_shortcut_with_callback(app_handle, shortcut, *shortcut_id, event_sender.clone()) {
|
||||||
Ok(_) => {
|
Ok(_) => {
|
||||||
info!(Source = "Tauri"; "Re-registered shortcut '{shortcut}' for '{}'.", shortcut_id);
|
info!(Source = "Tauri"; "Re-registered shortcut '{shortcut}' for '{}'.", shortcut_id);
|
||||||
success_count += 1;
|
success_count += 1;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user