From 3709a908d725bac401f9c8fe2afc60c8975d8be8 Mon Sep 17 00:00:00 2001 From: Irfan Abdul Date: Thu, 21 Aug 2014 11:14:22 +0200 Subject: [PATCH] edje: Edje_cc - fix not storing edc sources in .edj file with --no-save option Reviewers: govi, raster, jpeg, zmike, cedric Subscribers: cedric @fix Differential Revision: https://phab.enlightenment.org/D1292 Signed-off-by: Cedric BAIL --- src/bin/edje/edje_cc_out.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) mode change 100644 => 100755 src/bin/edje/edje_cc_out.c diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c old mode 100644 new mode 100755 index 0bd9611b8b..b51c82f5aa --- a/src/bin/edje/edje_cc_out.c +++ b/src/bin/edje/edje_cc_out.c @@ -1960,13 +1960,16 @@ data_write(void) data_write_lua_scripts(ef); INF("lua scripts: %3.5f", ecore_time_get() - t); t = ecore_time_get(); - pending_threads++; - if (threads) - ecore_thread_run(data_thread_source, data_thread_source_end, NULL, ef); - else + if (!no_save) { - data_thread_source(ef, NULL); - data_thread_source_end(ef, NULL); + pending_threads++; + if (threads) + ecore_thread_run(data_thread_source, data_thread_source_end, NULL, ef); + else + { + data_thread_source(ef, NULL); + data_thread_source_end(ef, NULL); + } } INF("source: %3.5f", ecore_time_get() - t); t = ecore_time_get(); pending_threads++;