Merge pull request #4923

aba9a9c2 daemon: stop miner before we bring the whole thing down (moneromooo-monero)
This commit is contained in:
Riccardo Spagni
2018-12-12 12:00:37 +02:00
2 changed files with 1 additions and 2 deletions
+1
View File
@@ -250,6 +250,7 @@ namespace cryptonote
//-----------------------------------------------------------------------------------
void core::stop()
{
m_miner.stop();
m_blockchain_storage.cancel();
tools::download_async_handle handle;