forked from enlightenment/enlightenment
kill e process before alert in non-x uses
This commit is contained in:
parent
fed69a7380
commit
6d8a1bd3fe
2
TODO
2
TODO
|
@ -90,8 +90,6 @@ TODO:
|
|||
logging like tables, icons, timelines and graphs that can be output
|
||||
in text emulation and to screen - change eina log to go into here
|
||||
with eina_log_print_cb_set() )
|
||||
* crash alert: we have to kill e to get kms control which breaks gdb
|
||||
* grab data then kill e then display results?
|
||||
* watchdog: add watchdog handling to e_start to detect a hung e
|
||||
* also detect if frames stop rendering but loop ok?
|
||||
* settings: config dialog redo and simplification
|
||||
|
|
|
@ -762,14 +762,22 @@ not_done:
|
|||
else
|
||||
r = 0;
|
||||
|
||||
/* kill e */
|
||||
if (!getenv("DISPLAY"))
|
||||
{
|
||||
kill(child, SIGKILL);
|
||||
usleep(500000);
|
||||
}
|
||||
|
||||
/* call e_alert */
|
||||
r = _e_call_alert(child, sig, r, backtrace_str,
|
||||
remember_sigusr1);
|
||||
free(backtrace_str);
|
||||
|
||||
/* kill e */
|
||||
kill(child, SIGKILL);
|
||||
|
||||
if (getenv("DISPLAY"))
|
||||
{
|
||||
kill(child, SIGKILL);
|
||||
}
|
||||
if (WEXITSTATUS(r) == 1)
|
||||
restart = EINA_FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue