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

Handle disconnect events #4246

Merged
merged 4 commits into from
Jun 24, 2019
Merged

Conversation

ev-mp
Copy link
Collaborator

@ev-mp ev-mp commented Jun 19, 2019

Enforce releasing the allocated file descriptors for v4l and hid sensors in case of device disconnect event
Fix device_hub - passed by ref parameter goes out of scope
Handle GCC warnings in v4l backend

Can be related to #3538
Tracked on: DSO-12768

Fix device_hub - passed by ref value goes out of scope
Add explicit dtor for the named_mutex
Fix GCC warnings

Tracked on DSO-12768
Change-Id: Ic80ccf474ca3626109f838ea75410b7aa539447b
Add RAII for handling HID reads
Fix hid members initialization/destruction order
Add extra try/catch to make sure all the v4l/hid class destructors call are performed

Change-Id: Ie0fe26d894b721a1681e78901ed452474703b7e9
Change-Id: Ie560e9cfcb7a4a54a81d3fadc064a88af7386499
@ev-mp ev-mp requested a review from icarpis June 19, 2019 10:34
@dorodnic dorodnic merged commit ace04f4 into IntelRealSense:development Jun 24, 2019
@ev-mp ev-mp deleted the dso-12768 branch June 27, 2019 08:00
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