UnstoppableSwap / core

Bitcoin–Monero Cross-chain Atomic Swap (+ GUI)
GNU General Public License v3.0
15 stars 5 forks source link

Kill `monero-wallet-rpc` process on exit #21

Open binarybaron opened 1 month ago

binarybaron commented 1 month ago

We need to kill the monero-wallet-rpc process if the GUI exits. Otherwise it can become orhphaned which will prevent us from opening the wallet again later.

See this PR for more information: https://github.com/comit-network/xmr-btc-swap/pull/1434

https://docs.rs/tauri/latest/tauri/struct.App.html#method.run

binarybaron commented 1 week ago

If the app exits gracefully it is killed. If we crash however it is not. I don't know if there's anything we can do about this.