-
Notifications
You must be signed in to change notification settings - Fork 616
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to correctly stop uiTimer? #395
Comments
So currenty to correctly close programm with running 1-second timer, I have to wait in worst case 1 second? It's crazy. |
It seems to be that way, but I'd confirm that with @andlabs. I like the idea of being able to manually stop the timer at any point. |
See previous discussion of timer cancellation here. |
It does not work - if handler is cleared in language binding, but on libui level keep running - after closing program stopped on breakpoint in
|
Note that you don't need to call |
All right, crashing fixed on all platforms it's affected on. Other platforms leave this as a TODO for now. There should probably be something in the tester for this... |
Thanks, closed my issue. So this should be closed too? |
Not yet; tester first. |
Strange thing - libui
timer
example works just fine, but when converted to Kotlin - crashes on exit:Don't know how to fix this.
The text was updated successfully, but these errors were encountered: