ecore anim - just for paranoia also cancel the thread

we send -1 to say exit to the thread but also cancel thread too with
ecore "in case"
This commit is contained in:
Carsten Haitzler 2021-10-03 23:48:58 +01:00
parent 323d604d01
commit b905a0036e
1 changed files with 1 additions and 0 deletions

View File

@ -423,6 +423,7 @@ static void
_timer_tick_quit(void)
{
if (timer_fd_read < 0) return;
ecore_thread_cancel(timer_thread);
_tick_send(-1);
if (timer_thread) ecore_thread_wait(timer_thread, 0.5);
}