forked from enlightenment/enlightenment
use SIGTERM for closing all sandbox gadgets, SIGUSR2 for removing gadgets
this should be more usable
This commit is contained in:
parent
83f77b0156
commit
0568e20ba5
|
@ -380,11 +380,9 @@ runner_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info E
|
|||
evas_object_smart_callback_del_full(site, "gadget_site_anchor", runner_site_anchor, inst);
|
||||
evas_object_smart_callback_del_full(site, "gadget_site_gravity", runner_site_gravity, inst);
|
||||
if (inst->ci)
|
||||
{
|
||||
inst->ci->inst = NULL;
|
||||
E_FREE_FUNC(inst->exe, ecore_exe_interrupt);
|
||||
}
|
||||
else
|
||||
ecore_exe_signal(inst->exe, 2);
|
||||
E_FREE_FUNC(inst->exe, ecore_exe_terminate);
|
||||
instances = eina_list_remove(instances, inst);
|
||||
eina_hash_free(inst->allowed_pids);
|
||||
|
|
Loading…
Reference in New Issue