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

Core Unsubscribes from HMI waypoints when it should not #3372

Closed
iCollin opened this issue May 18, 2020 · 1 comment
Closed

Core Unsubscribes from HMI waypoints when it should not #3372

iCollin opened this issue May 18, 2020 · 1 comment

Comments

@iCollin
Copy link
Collaborator

iCollin commented May 18, 2020

Bug Report

Code in ApplicationManagerImpl::UnregisterApplication seems to assume that the app being unregistered is subscribed to waypoints, and checks if there is only one app in the subscribed_way_points_apps_list_ before calling MessageHelper::SendUnsubscribedWayPoints

if (1 == subscribed_for_way_points_app_count) {

Reproduction Steps
  1. Connect two apps
  2. App1 subscribes to way points
  3. App2 disconnects
Expected Behavior

Core does not send UnsubscribeWayPoints to HMI

Observed Behavior

Core sends UnsubscribeWayPoints to HMI

OS & Version Information
  • OS/Version: any
  • SDL Core Version: 6.1.1 develop
  • Testing Against: ATF
Test Case, Sample Code, and / or Example App

smartdevicelink/sdl_atf_test_scripts#2408

@iCollin
Copy link
Collaborator Author

iCollin commented May 21, 2020

Closed via #3373

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

No branches or pull requests

1 participant