wallet: disable core dumps on startup in release mode

This commit is contained in:
moneromooo-monero
2018-07-15 13:20:36 +01:00
parent eed4dba880
commit 4307489147
4 changed files with 24 additions and 0 deletions

View File

@@ -51,6 +51,9 @@ bool isAddressLocal(const std::string &address)
void onStartup()
{
tools::on_startup();
#ifdef NDEBUG
tools::disable_core_dumps();
#endif
}
}