From b905a0036e6fcd47dabebbb88e0e128759079cd4 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Sun, 3 Oct 2021 23:48:58 +0100 Subject: 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" --- src/lib/ecore/ecore_anim.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/lib/ecore/ecore_anim.c b/src/lib/ecore/ecore_anim.c index 61e0e95558..e4cf21c9ff 100644 --- a/src/lib/ecore/ecore_anim.c +++ b/src/lib/ecore/ecore_anim.c @@ -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); } -- cgit v1.2.1