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
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
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
}
}