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

context construction using make() #12498

Merged
merged 4 commits into from
Dec 11, 2023

Conversation

maloel
Copy link
Contributor

@maloel maloel commented Dec 7, 2023

Following crash report from customer performing repeated dis/connects with device, while using callback that actually instantiates a pipeline inside (!! not recommended !!).

This makes the code more robust by switching to shared-ptr for contexts inside the factories.
Did the same for device_hub, based on another report of crashes there, too...

Tracked on [LRS-981]

@maloel maloel force-pushed the factory-crash branch 3 times, most recently from 9148476 to c40c4d6 Compare December 8, 2023 08:24
@maloel maloel marked this pull request as ready for review December 10, 2023 08:56
Copy link
Collaborator

@Nir-Az Nir-Az left a comment

Choose a reason for hiding this comment

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

Looks great

@maloel maloel merged commit cd2a5ec into IntelRealSense:development Dec 11, 2023
16 checks passed
@maloel maloel deleted the factory-crash branch December 11, 2023 12:03
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