Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
binarybaron committed Nov 14, 2024
1 parent f2e52d4 commit 9c9bafb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-tauri/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
);
Expand Down

0 comments on commit 9c9bafb

Please sign in to comment.