|
|
El 8/12/21 a las 16:59, Manolo
escribió:
That you get current_timer->timer == nullptr most
probably means that delete_timer()
has been called before repeat_timeout() was called.
Yes, that was the cause.
This means that the control did not stay continuously
inside your callback function,
but was returned to cocoa at some point by your callback,
in contradiction to what is required to use repeat_timeout().
No, it actually meant that a stray thread on my side was calling
Fl::remove_timeout, breaking both the contract with fltk (of not
calling things outside the main thread) and breaking
Fl::repeat_timeout.
Thanks, Manolo. Your advice is always helpful.
--
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/58b0d610-c732-101c-54a5-0472c7071677%40gmail.com.
|
[ Direct Link to Message ] | |
|
| |