recoll gui: just exit when getting a signal, the idxthread is gone

This commit is contained in:
Jean-Francois Dockes 2012-02-18 11:46:54 +01:00
parent ef00bfae70
commit 9d7b654395

View File

@ -167,11 +167,10 @@ static void recollCleanup()
static void sigcleanup(int) static void sigcleanup(int)
{ {
fprintf(stderr, "sigcleanup called\n"); // We used to not call exit from here, because of the idxthread, but
// Cant call exit from here, because the atexit cleanup does some // this is now gone, so...
// thread stuff that we can't do from signal context.
// Just set a flag and let the watchdog timer do the work
recollNeedsExit = 1; recollNeedsExit = 1;
exit(1);
} }
extern void qInitImages_recoll(); extern void qInitImages_recoll();