mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Remove custom terminate handler
* Reduce the amount of code we have to maintain. * Remove the potential for degrading stack dumps.
This commit is contained in:
committed by
Nik Bougalis
parent
cc824685e7
commit
60dc949314
@@ -28,7 +28,6 @@
|
||||
#include <ripple/core/Config.h>
|
||||
#include <ripple/core/ConfigSections.h>
|
||||
#include <ripple/core/DatabaseCon.h>
|
||||
#include <ripple/core/TerminateHandler.h>
|
||||
#include <ripple/core/TimeKeeper.h>
|
||||
#include <ripple/json/to_string.h>
|
||||
#include <ripple/net/RPCCall.h>
|
||||
@@ -766,8 +765,6 @@ int main (int argc, char** argv)
|
||||
|
||||
atexit(&google::protobuf::ShutdownProtobufLibrary);
|
||||
|
||||
std::set_terminate(ripple::terminateHandler);
|
||||
|
||||
auto const result (ripple::run (argc, argv));
|
||||
|
||||
beast::basic_seconds_clock_main_hook();
|
||||
|
||||
Reference in New Issue
Block a user