|
|
> El 7 dic. 2021, a las 20:10, Albrecht Schlosser <AlbrechtS.fltk@online.de> escribió:
>
> The case that (current_timer != nullptr) but (current_timer->timer == nullptr) would definitely be different.ç
I think the issue is that current_timer->timer is not an atomic variable and it is changed (deleted and recreated) in between callbacks (albeit this is a guess, as I am not sure how macOS triggers timeouts). But if so, that’s why changing the call to add_timeout solves the issue, too.
—
Gonzalo Garramuno
ggarra13@gmail.com
--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/6DE32925-7315-43F2-BF90-772C53C9F9CB%40gmail.com.
[ Direct Link to Message ] | |
|
| |