From 9c9bafb50ce9d3458b8375098c3caf2882f0427d Mon Sep 17 00:00:00 2001 From: Binarybaron Date: Thu, 14 Nov 2024 22:27:00 +0100 Subject: [PATCH] refactor --- src-tauri/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs index 7b7a0ad43..71981bfd2 100644 --- a/src-tauri/src/lib.rs +++ b/src-tauri/src/lib.rs @@ -264,7 +264,7 @@ async fn initialize_context( // This can lead to issues when the app is restarted // because the monero-wallet-rpc has a lock on the wallet // this will prevent the newly spawned instance from opening the wallet - // To fix this, we will kill the monero-wallet-rpc process if it is running + // To fix this, we kill any running monero-wallet-rpc processes let sys = sysinfo::System::new_with_specifics( sysinfo::RefreshKind::new().with_processes(sysinfo::ProcessRefreshKind::new()), );