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 <cedric@osg.samsung.com>
This commit is contained in:
Irfan Abdul 2014-08-21 11:14:22 +02:00 committed by Cedric BAIL
parent 9a1fb1b88d
commit 3709a908d7
1 changed files with 9 additions and 6 deletions

15
src/bin/edje/edje_cc_out.c Normal file → Executable file
View File

@ -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++;