Fix bug about disposing candidate processes 84/79784/1 accepted/tizen/common/20160713.050731 accepted/tizen/ivi/20160713.094154 accepted/tizen/mobile/20160713.094137 accepted/tizen/tv/20160713.094148 accepted/tizen/wearable/20160713.094134 submit/tizen/20160713.041351
authorJunghoon Park <jh9216.park@samsung.com>
Wed, 13 Jul 2016 02:44:38 +0000 (11:44 +0900)
committerJunghoon Park <jh9216.park@samsung.com>
Wed, 13 Jul 2016 02:44:38 +0000 (11:44 +0900)
Change-Id: Ic8c6ad7fec3960ac8d0a173015831982c0876f64
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
src/launchpad.c

index f2ca786..7c6540e 100755 (executable)
@@ -817,7 +817,7 @@ static gboolean __handle_label_monitor(gpointer data)
 
        while (iter) {
                cpc = (candidate_process_context_t *)iter->data;
-               if (cpc->prepared) {
+               if (cpc->pid > 0) {
                        if (cpc->source > 0) {
                                g_source_remove(cpc->source);
                                cpc->source = 0;