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

notification registration route to base sensor #5665

Merged
merged 2 commits into from Mar 5, 2020

Conversation

cchen6
Copy link
Contributor

@cchen6 cchen6 commented Jan 16, 2020

Bug #5479

Cause: relocalization notification callback registration happens before record_sensor::hook_sensor_callbacks() is called which is to register stream callback. The stream callback registration overwritten m_user_notification_callback that has been registered as reloc notification callback. That caused recursive call on on_notification() and will crash App.

Fix: register notification callback to base sensor before record_sensor::hook_sensor_callbacks() is called which is to register stream callback.

@cchen6 cchen6 requested a review from ev-mp January 16, 2020 22:25
@dorodnic dorodnic merged commit 20f95cf into IntelRealSense:development Mar 5, 2020
@radfordi radfordi mentioned this pull request Mar 18, 2020
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.

None yet

2 participants