Skip to content

Commit

Permalink
Only send quit once. It doesn't seem to help any but still.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andersbakken committed Sep 14, 2012
1 parent ed5df10 commit 08aa369
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/rdm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,13 @@ void sigSegvHandler(int signal)
_exit(1);
}


void sigIntHandler(int signal)
{
EventLoop::instance()->exit();
static bool first = true;
if (first) {
first = false;
EventLoop::instance()->exit();
}
}

#define EXCLUDEFILTER_DEFAULT "*.o;*.a;*.so*;*.obj;*.lo;*.git/objects*"
Expand Down

0 comments on commit 08aa369

Please sign in to comment.