diff options
author | Marcel Hollerbach <marcel-hollerbach@t-online.de> | 2017-02-18 17:29:09 +0100 |
---|---|---|
committer | Marcel Hollerbach <marcel-hollerbach@t-online.de> | 2017-02-18 17:31:29 +0100 |
commit | bcea8893403644a016ba04ce3d7c96da60138a09 (patch) | |
tree | fe7eecf77258974c69f41cdcd8a33798d6900155 | |
parent | 09091bb133456bcf32e74ce17d6b44fe8eea6bd6 (diff) | |
download | enlightenment-bcea8893403644a016ba04ce3d7c96da60138a09.tar.gz |
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
-rw-r--r-- | src/modules/luncher/bar.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/luncher/bar.c b/src/modules/luncher/bar.c index 6e5c9d163e..d5d9fa18e6 100644 --- a/src/modules/luncher/bar.c +++ b/src/modules/luncher/bar.c @@ -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; } |