mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2024-11-16 15:27:46 +00:00
Merge branch 'main' of github.com:Cyrix126/gupaxx into dev
This commit is contained in:
commit
277dd840bd
1 changed files with 4 additions and 0 deletions
|
@ -122,6 +122,10 @@ impl Helper {
|
||||||
info!("XMRig | Attempting to stop...");
|
info!("XMRig | Attempting to stop...");
|
||||||
lock2!(helper, xmrig).signal = ProcessSignal::Stop;
|
lock2!(helper, xmrig).signal = ProcessSignal::Stop;
|
||||||
lock2!(helper, xmrig).state = ProcessState::Middle;
|
lock2!(helper, xmrig).state = ProcessState::Middle;
|
||||||
|
let gui_api = Arc::clone(&lock!(helper).gui_api_xmrig);
|
||||||
|
let pub_api = Arc::clone(&lock!(helper).pub_api_xmrig);
|
||||||
|
*lock!(pub_api) = PubXmrigApi::new();
|
||||||
|
*lock!(gui_api) = PubXmrigApi::new();
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cold]
|
#[cold]
|
||||||
|
|
Loading…
Reference in a new issue