mirror of
https://github.com/monero-project/monero.git
synced 2025-08-13 04:25:31 -04:00
Merge pull request #4923
aba9a9c2
daemon: stop miner before we bring the whole thing down (moneromooo-monero)
This commit is contained in:
commit
fe3c8c9682
2 changed files with 1 additions and 2 deletions
|
@ -250,6 +250,7 @@ namespace cryptonote
|
|||
//-----------------------------------------------------------------------------------
|
||||
void core::stop()
|
||||
{
|
||||
m_miner.stop();
|
||||
m_blockchain_storage.cancel();
|
||||
|
||||
tools::download_async_handle handle;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue