diff --git a/src/currency_core/currency_core.cpp b/src/currency_core/currency_core.cpp index f1aa6be6..982b3311 100644 --- a/src/currency_core/currency_core.cpp +++ b/src/currency_core/currency_core.cpp @@ -713,6 +713,9 @@ namespace currency #define MINIMUM_REQUIRED_FREE_SPACE_BYTES (1024 * 1024 * 100) void core::check_free_space() { + if (!m_critical_error_handler) + return; + boost::filesystem::space_info si = boost::filesystem::space(m_config_folder); if (si.available < MINIMUM_REQUIRED_FREE_SPACE_BYTES)