[monero-project/monero] wallet: disable core dumps on startup in release mode (#4136)

moneromooo-monero commented on this pull request.

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

It’d disable for every program, and I want to disable it just for wallets (for secret keys).

Добавить комментарий