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

Make sure last camera rendering is completed when switching UI #219

Merged
merged 1 commit into from Apr 10, 2024

Conversation

Honry
Copy link
Collaborator

@Honry Honry commented Apr 9, 2024

When switching to different UI from camera rendering, e.g. switch to image rendering or different model, if last camera rendering is not completed it will throw unexpected exceptions (race condition happens). This PR ensures last camera rendering is completed before executing next inference task.

@Honry Honry requested a review from huningxin April 9, 2024 07:00
@Honry
Copy link
Collaborator Author

Honry commented Apr 9, 2024

@huningxin, @ibelem, PTAL, thanks!

Copy link
Contributor

@huningxin huningxin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@huningxin
Copy link
Contributor

@ibelem do you have any further comments before merging?

@ibelem
Copy link
Contributor

ibelem commented Apr 10, 2024

@huningxin Thanks for the review, I have no further comments. Please help to merge the code.

@huningxin huningxin merged commit ca1091e into webmachinelearning:master Apr 10, 2024
3 checks passed
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.

None yet

3 participants