wallet: disable core dumps on startup in release mode

This commit is contained in:
moneromooo-monero
2018-08-12 16:28:10 +00:00
parent eed4dba880
commit 4307489147
4 changed files with 24 additions and 0 deletions
+3
View File
@@ -51,6 +51,9 @@ bool isAddressLocal(const std::string &address)
void onStartup()
{
tools::on_startup();
#ifdef NDEBUG
tools::disable_core_dumps();
#endif
}
}