mirror of
https://github.com/monero-project/monero.git
synced 2026-01-23 21:04:24 +01:00
wallet: disable core dumps on startup in release mode
This commit is contained in:
@@ -51,6 +51,9 @@ bool isAddressLocal(const std::string &address)
|
||||
void onStartup()
|
||||
{
|
||||
tools::on_startup();
|
||||
#ifdef NDEBUG
|
||||
tools::disable_core_dumps();
|
||||
#endif
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user