Skip to content
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

Fix crashing when updating UI from non-UI thread #2

Merged
merged 1 commit into from
Jul 28, 2019
Merged

Fix crashing when updating UI from non-UI thread #2

merged 1 commit into from
Jul 28, 2019

Conversation

vietanhdev
Copy link
Contributor

I found crashing problem when calling canvasView.Invalidate(); << MainActivity.ReloadCanvas(); << CameraAnalyzer.cs. Invalidate() method should be replaced with postInvalidate() when calling from a non-UI thread.

Related to this issue: #1

@jacano
Copy link
Owner

jacano commented Jul 28, 2019

Awesome, nice catch!!

@jacano jacano merged commit e793deb into jacano:master Jul 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants