while streaming shutdown core via exit application.
Summary
A request pointer was being added to the notification struct, but the init or check permissions call were failing so the notification never even ran or had the chance to be removed from the notification list.
Updated the logic to only add the notification to the notificationlist if it is properly init.
Fixes https://github.com/smartdevicelink/sdl_core/issues/3878
This PR is ready for review.
Risk
This PR makes no API changes.
Testing Plan
Summary
A request pointer was being added to the notification struct, but the init or check permissions call were failing so the notification never even ran or had the chance to be removed from the notification list.
Updated the logic to only add the notification to the notificationlist if it is properly init.
CLA