Don't break the unit tests by slowing shutdown.

This commit is contained in:
JoelKatz
2012-11-29 18:40:01 -08:00
parent 0fe9f178ef
commit 4f58ab14b0

View File

@@ -83,10 +83,13 @@ void sigIntHandler(int)
void Application::run()
{
#ifdef SIGINT
if (!config.RUN_STANDALONE)
{
struct sigaction sa;
memset(&sa, 0, sizeof(sa));
sa.sa_handler = sigIntHandler;
sigaction(SIGINT, &sa, NULL);
}
#endif
assert(mTxnDB == NULL);