recoll gui: just exit when getting a signal, the idxthread is gone
This commit is contained in:
parent
ef00bfae70
commit
9d7b654395
@ -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();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user