forked from enlightenment/enlightenment
luncher: null out the watchter when the watcher is stopped
before a exec instance is freed all the watchers are stopped, so we should NULL the watcher out here. fixes T4963
This commit is contained in:
parent
09091bb133
commit
bcea889340
|
@ -247,6 +247,10 @@ _bar_instance_watch(void *data, E_Exec_Instance *ex, E_Exec_Watch_Type type)
|
|||
if (!eina_list_data_find(ic->execs, ex))
|
||||
ic->execs = eina_list_append(ic->execs, ex);
|
||||
break;
|
||||
case E_EXEC_WATCH_TIMEOUT:
|
||||
case E_EXEC_WATCH_STOPPED:
|
||||
ic->exec = NULL;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue