Skip to content

fix for crash on stopping context - #9677

Merged
maloel merged 1 commit into
realsenseai:developmentfrom
maloel:stopctx
Aug 25, 2021
Merged

fix for crash on stopping context#9677
maloel merged 1 commit into
realsenseai:developmentfrom
maloel:stopctx

Conversation

@maloel

@maloel maloel commented Aug 24, 2021

Copy link
Copy Markdown
Contributor

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

@ev-mp ev-mp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good

@maloel

maloel commented Aug 25, 2021

Copy link
Copy Markdown
Contributor Author

Testing looks fine, even with a hub

@maloel
maloel merged commit cdf50b5 into realsenseai: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