forked from enlightenment/enlightenment
dont wait until its hung to kill -9 it .. as the user selected kill.
just give it a timeout from the sigint. :) SVN revision: 58341
This commit is contained in:
parent
08b3049296
commit
ac2b91963a
|
@ -8382,11 +8382,12 @@ _e_border_cb_kill_timer(void *data)
|
|||
E_Border *bd;
|
||||
|
||||
bd = data;
|
||||
if (bd->hung)
|
||||
{
|
||||
// dont wait until it's hung -
|
||||
// if (bd->hung)
|
||||
// {
|
||||
if (bd->client.netwm.pid > 1)
|
||||
kill(bd->client.netwm.pid, SIGKILL);
|
||||
}
|
||||
// }
|
||||
bd->kill_timer = NULL;
|
||||
return ECORE_CALLBACK_CANCEL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue