ui: dont do this...

Might be wrong but I think manually waiting for threads is not
good practice. I don't remember where I learnt this for EFL but
it doesm't seem to be a good idea, the main loop should handle this?
This commit is contained in:
Alastair Poole 2020-09-28 15:46:44 +01:00
parent 68480f726d
commit b8efdc0a18
1 changed files with 0 additions and 17 deletions

View File

@ -1594,23 +1594,6 @@ evisum_ui_shutdown(Ui *ui)
void
evisum_ui_del(Ui *ui)
{
evas_object_del(ui->win);
if (ui->timer_pid)
ecore_timer_del(ui->timer_pid);
if (ui->thread_system)
ecore_thread_cancel(ui->thread_system);
if (ui->thread_process)
ecore_thread_cancel(ui->thread_process);
if (ui->thread_system)
ecore_thread_wait(ui->thread_system, 1.0);
if (ui->thread_process)
ecore_thread_wait(ui->thread_process, 1.0);
_proc_pid_cpu_times_free(ui);
if (ui->cache)