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 for crash on stopping context #9677

Merged
merged 1 commit into from
Aug 25, 2021
Merged

Conversation

maloel
Copy link
Collaborator

@maloel maloel commented Aug 24, 2021

Added debug messages, in general.
But the issue, it seems, was that context::stop() only called device_watcher::stop() when there were NO callbacks registered.

Tracked on [LRS-219]

(cherry picked from commit 96c1b15bcaf68c18d30171b1c2285e4863533166)
@maloel maloel requested a review from ev-mp August 24, 2021 11:07
Copy link
Collaborator

@ev-mp ev-mp left a comment

Choose a reason for hiding this comment

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

Looks good

@maloel
Copy link
Collaborator Author

maloel commented Aug 25, 2021

Testing looks fine, even with a hub

@maloel maloel merged commit cdf50b5 into IntelRealSense:development Aug 25, 2021
@maloel maloel deleted the stopctx branch August 25, 2021 08:30
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.

2 participants