diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2021-10-03 23:48:58 +0100 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2021-10-03 23:48:58 +0100 |
commit | b905a0036e6fcd47dabebbb88e0e128759079cd4 (patch) | |
tree | c87359132f4aea19232aaf0ef1011bf3cb0c25c4 /src | |
parent | 323d604d01ce4a7d52cd19d774d1aa4ece26540f (diff) | |
download | efl-b905a0036e6fcd47dabebbb88e0e128759079cd4.tar.gz |
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"
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/ecore/ecore_anim.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |