aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/cryptonote_core.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-10-04 11:41:41 +0200
committerRiccardo Spagni <ric@spagni.net>2016-10-04 11:41:41 +0200
commite34ef4de6c99de3d057901feabe4d38e1fde4a39 (patch)
tree444079a995edddb208419f902d0d124463d3071e /src/cryptonote_core/cryptonote_core.cpp
parentMerge pull request #1168 (diff)
parentRemoved all code related to fast_exit (diff)
downloadmonero-e34ef4de6c99de3d057901feabe4d38e1fde4a39.tar.xz
Merge pull request #1171
6390673 Removed all code related to fast_exit (NanoAkron)
Diffstat (limited to 'src/cryptonote_core/cryptonote_core.cpp')
-rw-r--r--src/cryptonote_core/cryptonote_core.cpp17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp
index 5ea4d9fbc..bd8a6a493 100644
--- a/src/cryptonote_core/cryptonote_core.cpp
+++ b/src/cryptonote_core/cryptonote_core.cpp
@@ -434,24 +434,11 @@ namespace cryptonote
{
m_miner.stop();
m_mempool.deinit();
- if (!m_fast_exit)
- {
- m_blockchain_storage.deinit();
- }
+ m_blockchain_storage.deinit();
unlock_db_directory();
return true;
}
//-----------------------------------------------------------------------------------------------
- void core::set_fast_exit()
- {
- m_fast_exit = true;
- }
- //-----------------------------------------------------------------------------------------------
- bool core::get_fast_exit()
- {
- return m_fast_exit;
- }
- //-----------------------------------------------------------------------------------------------
void core::test_drop_download()
{
m_test_drop_download = false;
@@ -986,6 +973,4 @@ namespace cryptonote
{
raise(SIGTERM);
}
-
- std::atomic<bool> core::m_fast_exit(false);
}