mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-25 21:45:52 +00:00
Don't break the unit tests by slowing shutdown.
This commit is contained in:
@@ -83,10 +83,13 @@ void sigIntHandler(int)
|
||||
void Application::run()
|
||||
{
|
||||
#ifdef SIGINT
|
||||
struct sigaction sa;
|
||||
memset(&sa, 0, sizeof(sa));
|
||||
sa.sa_handler = sigIntHandler;
|
||||
sigaction(SIGINT, &sa, NULL);
|
||||
if (!config.RUN_STANDALONE)
|
||||
{
|
||||
struct sigaction sa;
|
||||
memset(&sa, 0, sizeof(sa));
|
||||
sa.sa_handler = sigIntHandler;
|
||||
sigaction(SIGINT, &sa, NULL);
|
||||
}
|
||||
#endif
|
||||
|
||||
assert(mTxnDB == NULL);
|
||||
|
||||
Reference in New Issue
Block a user