diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2018-08-15 17:15:49 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2018-08-15 17:15:49 -0500 |
| commit | 1d2c08610bb9437174fa393c3f739ee6228fb4aa (patch) | |
| tree | 42a301b30a2490fb6a9cc3e27aa4ee8fca52edde /src/wallet/api/utils.cpp | |
| parent | 3b409a3b8ac6cfece594a11e73161d3717b4be3f (diff) | |
| parent | 43074891479b4883645b06c4cc5341469d9cd9cd (diff) | |
| download | monzero-core-1d2c08610bb9437174fa393c3f739ee6228fb4aa.tar.gz monzero-core-1d2c08610bb9437174fa393c3f739ee6228fb4aa.tar.xz monzero-core-1d2c08610bb9437174fa393c3f739ee6228fb4aa.zip | |
Merge pull request #4136
4307489 wallet: disable core dumps on startup in release mode (moneromooo-monero)
Diffstat (limited to 'src/wallet/api/utils.cpp')
| -rw-r--r-- | src/wallet/api/utils.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/api/utils.cpp b/src/wallet/api/utils.cpp index aebe41e59..86fe56564 100644 --- a/src/wallet/api/utils.cpp +++ b/src/wallet/api/utils.cpp @@ -51,6 +51,9 @@ bool isAddressLocal(const std::string &address) void onStartup() { tools::on_startup(); +#ifdef NDEBUG + tools::disable_core_dumps(); +#endif } } |
