Skip to content

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
@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